I want to make a script to print parameter-1, parameter-2, and parameter-3.
Parameter-1 and parameter-2 just a SINGLE word.
Parameter-3 = string.

   #!/usr/bin/perl

   $p1=$ARGV[0];
   $p2=$ARGV[1];
   $p3=$ARGV[2];

   print "$p1 $p2 $p3"

Then, I test it like this: ./myscript word word "this is string"
But I got output: word word this

How to catch a string? I use "" 

Thanks,



__________________________________________________
Do you Yahoo!?
New DSL Internet Access from SBC & Yahoo!
http://sbc.yahoo.com

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to