sub_chick has asked for the wisdom of the Perl Monks concerning the following question:
And the output isperl -e 'if('42'=~ /[:^digit:]/) {print "42 is a digit\n"}; else {prin +t "42 is not a digit\n"}';
and no shell prompt. I am sure its something simple I am just not seeing.> > >
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: POSIX-Style character classes
by borisz (Canon) on Dec 25, 2005 at 19:33 UTC | |
|
Re: POSIX-Style character classes
by ww (Archbishop) on Dec 25, 2005 at 21:42 UTC | |
|
Re: POSIX-Style character classes
by HuckinFappy (Pilgrim) on Dec 26, 2005 at 03:33 UTC | |
|
Re: POSIX-Style character classes
by TedPride (Priest) on Dec 26, 2005 at 02:56 UTC |