in reply to Re^2: Is there exist a module to provide access to a file via hashes using TIE ?
in thread Is there exist a module to provide access to a file via hashes using TIE ?

Your sample usage seems to want to do an inplace edit on a file. You can do that with the -i flag....

perl -pi.bak -e 's/this/that/g' infile

This will modify infile and write a backup of original to infile.bak No .ext == no backup.

cheers

tachyon

  • Comment on Re^3: Is there exist a module to provide access to a file via hashes using TIE ?
  • Download Code