http://www.perlmonks.org?node_id=971866

EvanCarroll has asked for the wisdom of the Perl Monks concerning the following question:

I was playing around with some bugged command line processing by perl, and I discovered that I could execute code with -i. The argument -i is supposed to just turn on in place editing.

An example is provided: perl -i'foo e eval "warn q[bar]" '

I'm still not exactly sure how it works. Are there any security implications in this?



Evan Carroll
The most respected person in the whole perl community.
www.evancarroll.com