Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

RE: (Ovid - Duking it out over security) RE(3): Warning our Fellow Monks

by dchetlin (Friar)
on Oct 12, 2000 at 03:16 UTC ( #36335=note: print w/replies, xml ) Need Help??


in reply to (Ovid - Duking it out over security) RE(3): Warning our Fellow Monks
in thread Warning our Fellow Monks

Here's the REx Fastolfe posted:

($secure) = ($tainted =~ /(\w+)/);

I certainly agree that the success needs to be checked, as there's an open being called with $secure on the next line, but $secure will not be ending up with a previous value of $1; if the REx fails, it will simply be undefined.

-dlc

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://36335]
help
Chatterbox?
[ambrus]: "Corion Meh. My bank removed (part of) their CSV download facilities." => ah great. interface changes.
[ambrus]: Is this for work?
[Eily]: Discipulus try looking at $@
[Eily]: or count the parentheses :)
[Discipulus]: stupid me! I had to stay at home and do not code with the flu..
[holli]: bacause it's a syntax error
[Discipulus]: yes sorry forget and forgive me

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (8)
As of 2017-10-24 10:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My fridge is mostly full of:

















    Results (287 votes). Check out past polls.

    Notices?