Note: along the way I tried using pos() instead of $i, but apparently it is undefined while still in the right side of the s///well, this is right, but it is also undefined outside the s/// construct!! That's because (from perldoc)
pos returns the offset of where the last "m//g" search left offand that's it. Pos is not set with s///.
-- Hofmator
In reply to Re: Re: Help with substitution - - 15 Characters from the left
by Hofmator
in thread Help with substitution - - 15 Characters from the left
by La12
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |