P is for Practical | |
PerlMonks |
Re^2: Simple way to skip spaces and # commentsby leszekdubiel (Scribe) |
on Jul 31, 2020 at 13:56 UTC ( [id://11120140]=note: print w/replies, xml ) | Need Help?? |
To be more precise... $a is a reference to string, that is beeing parsed. pos $$a shows current parsing position. From that position I need to skip all spaces and comments that extend maybe on many lines in that string. Positve zero-length match should be avoided.
In Section
Seekers of Perl Wisdom
|
|