in reply to Get Entire Command Line of a Program

maybe using the magick <> operator might help you to do what you want; or maybe not. it allows you to read/process all args as files to be sequentially read/processed OR if none specified you'll be reading/processing whatever input was piped/directed to the perl script.
othewise, as has been already said, the shell or command line do a lot of evaluation etc of the line before perl is even called and args from line passed to it..so that perl has a very limited view of what the original shell/command line was.
the hardest line to type correctly is: stty erase ^H
  • Comment on Re: Get Entire Command Line of a Program