in reply to Perl Command Line Arguments

Either by quoting, or by using the LIST form of system.

Replies are listed 'Best First'.
Re^2: Perl Command Line Arguments
by iamravikanth (Novice) on Jun 02, 2010 at 15:15 UTC
    Can you please give an example of quotes?
      $ perl -e 'print ">$_<\n" for @ARGV' A B C D >A< >B< >C< >D< $ perl -e 'print ">$_<\n" for @ARGV' "A B C D" >A B C D<