in reply to Re: (ar0n) Re: Moving Input Data Files into Script Proper.
in thread Moving Input Data Files into Script Proper.

If you are talking Perl's debugger, then changing @ARGV won't have any effect on the -d switch that enables this. @ARGV is the arguments passed to the Perl script and doesn't include (nor modify) the switches and arguments passed to the perl executable (such as -w, -d, or which script to run).

        - tye (but my friends call me "Tye")
  • Comment on (tye)Re: Moving Input Data Files into Script Proper.

Replies are listed 'Best First'.
Re: (tye)Re: Moving Input Data Files into Script Proper.
by clintp (Curate) on Jun 18, 2001 at 04:45 UTC
    The point was that pushing (as opposed to assigning) into @ARGV doesn't interfere with any argument processing -- yours (Getopt) or Perl's (-laneipdw0...). Whatever you push will just get processed at the end of whatever you typed which is what he wanted...