in reply to Re: 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 ?

thanks!
  • Comment on Re^2: Is there exist a module to provide access to a file via hashes using TIE ?

Replies are listed 'Best First'.
Re^3: Is there exist a module to provide access to a file via hashes using TIE ?
by tachyon (Chancellor) on Sep 24, 2004 at 00:19 UTC

    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