ingydotnet / io-all-pm

All in One Perl IO
http://search.cpan.org/dist/IO-All/
38 stars 20 forks source link

Add example: IO object as an array #82

Closed grtodd closed 8 years ago

grtodd commented 9 years ago

For Cookbook section ... trying to get into the SWIM of things ;-)

gtodd: does IO::All have an equivalent to File::Slurp's edit_file() ? gtodd: https://metacpan.org/pod/File::Slurp#edit_file-edit_file_lines gtodd: ... a convenient way of doing "in place editing" ? ingy: gtodd: you can use an IO::All file as an array ... https://gist.github.com/anonymous/83720145149740c693a4

shlomif commented 8 years ago

merged, thanks!