in reply to Re^2: help declaring variables within perl one-liner
in thread help declaring variables within perl one-liner

For some reason, I thought you could only use that once per program. That's not true.

$ printf 'foo\nbar\n' >file $ perl -e' for (1..2) { local @ARGV = qw( file ); local $^I = ""; print ">$_" while <>; } ' $ cat file >>foo >>bar

Seeking work! You can reach me at ikegami@adaelis.com