Anti-nuisance lawsuit warning: The purpose of these notes is to remind me, Zoegond, of stuff or to help me work stuff out. They may contain mistakes.
Quick
- ($a, $b....) = unpack("A2A7...", $packed)
- push( array, list )
Thursday, July 4, 2024
Perl rewind text file
You can rewind a text file with seek($fh, 0, 0), just as you can any other file.
But that doesn't reset $. - you do that manually with $. = 0 .
Subscribe to:
Comments (Atom)