Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: Security techniques every programmer should know

by Aristotle (Chancellor)
on Dec 27, 2004 at 03:10 UTC ( #417505=note: print w/replies, xml ) Need Help??


in reply to Security techniques every programmer should know

Dealing with nuls, my preference would be to consider them an end-of-string marker.

s/\0.*//s;

After all, that's what the underlying system calls will get to see.

Makeshifts last the longest.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://417505]
help
Chatterbox?
[Discipulus]: ther is a way to golf this further:if(p$_)&(p $r)&$r!=$_ ?

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (4)
As of 2017-10-20 07:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My fridge is mostly full of:

















    Results (259 votes). Check out past polls.

    Notices?