Don't ask to ask, just ask | |
PerlMonks |
Re^2: Splitting in while loopby perlfan (Vicar) |
on Oct 12, 2021 at 16:09 UTC ( [id://11137448]=note: print w/replies, xml ) | Need Help?? |
In non-slurp mode, this works via assignment using the diamond operator (<>) - or just the same if you open an file handle, $FH:
Similarly, you could do something destructive with pop or shift, like,
In Section
Seekers of Perl Wisdom
|
|