http://qs321.pair.com?node_id=1231927


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.