in reply to Re: Crafting a regex for a split() function...
in thread Crafting a regex for a split() function...
I didn't even know you could call a subroutine from inside a regex. Wow, this crazy language gets cooler and cooler...
Just to be certain, the value for the match of /(\d+.\d+)/ is $1 and is then carried into sub convert as the value $_ ?
Thank you very much!
-mox
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Crafting a regex for a split() function...
by ikegami (Patriarch) on Nov 23, 2006 at 01:46 UTC | |
by chinamox (Scribe) on Nov 23, 2006 at 02:03 UTC | |
by GrandFather (Saint) on Nov 23, 2006 at 02:30 UTC |