in reply to How to make perl accept symbol open/close bracket?
Most probably this is not a Perl issue but a shell issue.
Try quoting the arguments you supply to your script on the command line, e.g.
rather than$ ./shellArgs.pl 'abc' '(abc)' 'evg'
Note that 'abc' and 'evg' need not be quoted, strictly speaking, so$ ./shellArgs.pl abc (abc) evg
works just as well.$ ./shellArgs.pl abc '(abc)' evg
Hope this helps, -gjb-
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: How to make perl accept symbol open/close bracket?
by hyliau (Initiate) on Jun 27, 2003 at 10:15 UTC | |
by cfreak (Chaplain) on Jun 27, 2003 at 13:28 UTC | |
by hyliau (Initiate) on Jun 28, 2003 at 03:52 UTC | |
by cfreak (Chaplain) on Jun 30, 2003 at 17:13 UTC |