in reply to Re^5: How to escape white space in command line arguments
in thread How to escape white space in command line arguments

This code uses a local variable for @ARGV

Um no. It properly localizes @ARGV and then sets @ARGV. You say Nobody but the O/S should set @ARGV but you forgot this is perl.

  • Comment on Re^6: How to escape white space in command line arguments

Replies are listed 'Best First'.
Re^7: How to escape white space in command line arguments
by Marshall (Canon) on Apr 13, 2010 at 09:59 UTC
    This is an "outlier" situation and we are getting off topic from the thread. The OP wants to call program2 from program1 and pass some command line arguments to program2, possibly derived from command line arguments to program1. There is no need here for a local @ARGV.
      and we are getting off topic from the thread.

      You went off topic as soon as you started pontificating on should/should not. My replies were to you. The OP was not using @ARGV as a special.