Next Tricks of the Wizards 67

Tied Arrays

        tie @FILE, 'MirrorFile', $filename or die ...;
        print $FILE[13];      # Print line 13
        for (@FILE) {
          if (/something/) { ... }
        }        


Next Copyright © 2003 M. J. Dominus