in reply to Re^2: Can a Perl Script call another perl script?
in thread Can a Perl Script call another perl script?
Huh. Granted, it's been a long time since I've Perled on windows, but I thought it would be OK with the quotes as written.
Slight correction, it's just the -n that does that, the -e lets you specify the 'script' in its entirety on the command line.
I was leaving the explanation of -ne as an exercise to the reader, or in this case the OP.
$/ = q#(\w)# ; sub sig { print scalar reverse join ' ', @_ } + sig map { s$\$/\$/$\$2\$1$g && $_ } split( ' ', ",erckha rlPe erthnoa stJu +" );
|
|---|