more useful options | |
PerlMonks |
Re: Why isn't this simple method to join elements of 2 arrays not workingby davido (Cardinal) |
on Sep 21, 2014 at 18:12 UTC ( [id://1101461]=note: print w/replies, xml ) | Need Help?? |
Just for fun...
By default this will dump its output to STDOUT. Once you're certain it will do what you want, run it with the --live flag, and it will overwrite FILE2, which seems to be what you want. I'd probably use copies of the original files until I'm certain. Updated: Handle command-line option via Getopt::Long rather than @ARGV. Dave
In Section
Seekers of Perl Wisdom
|
|