Don't need the pipe symbol. Use single quote for each argument. > cat t2.pl use strict; use Data::Dumper; print Dumper [EMAIL PROTECTED];
> perl t2.pl 'aa bb' 'cc dd' $VAR1 = [ 'aa bb', 'cc dd' ]; On 4/9/08, mitr <[EMAIL PROTECTED]> wrote: > > Hi, > > I have a perl script, where I am passing more than 3 arguments, but I > want to seperate them with |(pipe)or any other special charcater > instead of blank space, cause the argument itself I have the space > like " sixty three". > For example c:\perl>perl sample.pl sixty three|fouty four| twenty two > in windows. > > now I am passing the argument like > > c:\perl>perl sample.pl two three four, when you do not have the space > in the argument itself then it is fine otherwise it is taking > everything as an argument. > > Could anyone please help me on this issue? > > > Thanks! > > Bala!!! > > > -- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > http://learn.perl.org/ > > > -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/