in reply to Re^2: Bug in perl command line processing?
in thread Bug in perl command line processing?
The -e1 is unnecessary.
That seems to be because perl sees the 'e' in 'foo e eval...' as an -e command line switch. Change it to something else besides 'e' and the behavior changes.
It sort of feels like the same sort of exploit one should worry about when using the two-arg open unsafely, passing user data to a database without placeholders, or instantiating user data as variable names.
Dave
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^4: Bug in perl command line processing?
by demerphq (Chancellor) on May 22, 2012 at 21:41 UTC | |
by davido (Cardinal) on May 22, 2012 at 21:50 UTC | |
by Anonymous Monk on May 22, 2012 at 22:58 UTC |
In Section
Seekers of Perl Wisdom