APM: Question: How to access command line before its parsed into @ARGV

Wayne Walker wwalker at bybent.com
Thu Aug 25 07:15:30 PDT 2005

The first layer of quotes is removed by the shell prior to the fork/exec
of the perl interpreter, do the quotes can't be gotten by a perl program
since they were removed before perl was exec'd

On Wed, Aug 24, 2005 at 07:14:28PM -0700, Bill Raty wrote:
> I'm needing to write a perl program that receives command line
> arguments that may be double quoted.  
>   # This won't work as quotes are removed
>   my $command_line = join ' ', @ARGV;
> -Bill
> -Bill
> Reintarnation: Coming back to life as a hillbilly
> _______________________________________________
> Austin mailing list
> Austin at pm.org
> http://mail.pm.org/mailman/listinfo/austin


Wayne Walker

wwalker at bybent.com                    Do you use Linux?!
http://www.bybent.com                 Get Counted!  http://counter.li.org/
Perl - http://www.perl.org/           Perl User Groups - http://www.pm.org/
Jabber:  wwalker at jabber.gnumber.com   AIM:     lwwalkerbybent
IRC:     wwalker on freenode.net

More information about the Austin mailing list