jens has asked for the wisdom of the Perl Monks concerning the following question:
#$url = substr($test, 0, $_); #if ($test =~ /$url/ {
The error I get isif ($test =~ m#(??{substr($test, 0, $_)})#) {
Any ideas on this one?Argument $test isn't numeric in substr at (re_eval 1) l
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Troubles with m!(??{substr(...)})!
by Enlil (Parson) on Nov 20, 2002 at 09:53 UTC | |
by Zaxo (Archbishop) on Nov 21, 2002 at 02:16 UTC | |
by Enlil (Parson) on Nov 21, 2002 at 05:30 UTC | |
by BrowserUk (Patriarch) on Nov 21, 2002 at 07:18 UTC | |
|
Re: Troubles with m!(??{substr(...)})!
by BrowserUk (Patriarch) on Nov 20, 2002 at 13:37 UTC | |
|
Re: Troubles with m!(??{substr(...)})!
by grinder (Bishop) on Nov 20, 2002 at 13:36 UTC | |
|
Re: Troubles with m!(??{substr(...)})!
by BUU (Prior) on Nov 21, 2002 at 01:57 UTC | |
|
Re: Troubles with m!(??{substr(...)})!
by UnderMine (Friar) on Nov 20, 2002 at 10:02 UTC |