I need to allow users to type in just about anything when they run my perl script as my script is sending all data to another non-custom script at different increments.
In theory, I’m hoping this could happen:
perlscript "this is" -t stuff\n4^./q%
Then, in perlscript, have:
print "Full: $full_command";
which results in:
Full: "this is" -t stuff\n4^./q%
That make any sense? Nothing I’ve tried yet does exactly what I’m looking for with argv or the like.
Thanks for any help,
Tim
The shell does something equivalent to
There’s no way
perlcan produce the original shell command from that. If you want Perl to receiveyou need to tell the shell that using something like
(Well, at least for a Borne shell or derivative.)