in reply to Re: Re: How to make perl accept symbol open/close bracket?
in thread How to make perl accept symbol open/close bracket?
gjb is correct. The problem is in your shell. Perl doesn't care if you have parenthesis in your variable (except maybe in a regex). I assume the message you printed above in output from something. The parenthesis are escaped because someone programmed it to do that. That has nothing to do with the input of the program.
I copied your program and ran it and it worked fine as long as the arguments are quoted. It might be a difference in shells (I use bash on Linux) so you might try escaping the parenthesis by using a \ character.
Hope that helps
Lobster Aliens Are attacking the world!
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Re: How to make perl accept symbol open/close bracket?
by hyliau (Initiate) on Jun 28, 2003 at 03:52 UTC | |
by cfreak (Chaplain) on Jun 30, 2003 at 17:13 UTC |