Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
user input ---> ./scriptname -a sdf!sdf -b gwerwer what i want to do ==> If I see ! in input, I want to just do /(.+)!.+/ and capture just $1
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: how to ignore regex in input to getopt::Long
by perl_fan (Novice) on Jun 28, 2010 at 08:18 UTC | |
by Anonymous Monk on Jun 28, 2010 at 13:23 UTC | |
by toolic (Bishop) on Jun 28, 2010 at 13:49 UTC | |
by ikegami (Patriarch) on Jun 28, 2010 at 19:29 UTC | |
|
Re: how to ignore regex in input to getopt::Long
by Anonymous Monk on Jun 28, 2010 at 08:17 UTC |