in reply to Re: preserve quotes after $0 interpolation
in thread preserve quotes after $0 + @ARGV interpolation

Note that neither of these solutions will recreate options passed to perl rather than the script (such as -p, -C, etc.) Perl doesn't provide this information to the script.

But see Devel::PL_origargv.

  • Comment on Re^2: preserve quotes after $0 interpolation