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!
-moxIn reply to Re^2: Crafting a regex for a split() function...
by chinamox
in thread Crafting a regex for a split() function...
by chinamox
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |