Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re^2: Counter Intuitive Code

by RonW (Parson)
on Mar 31, 2019 at 17:31 UTC ( [id://1231927]=note: print w/replies, xml ) Need Help??


in reply to Re: Counter Intuitive Code
in thread Counter Intuitive Code

eval join'|', @ARGV

While that works, it is dangerous to directly eval user input. eval has the full power of the perl compiler behind it.

Of course, in this use case, the user is also using the Perl debugger, which is equally dangerous.

Always remember, tools of great power come with great responsibility.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1231927]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others scrutinizing the Monastery: (1)
As of 2024-04-25 02:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found