>>>>> "OR" == Octavian Rasnita <orasn...@gmail.com> writes:
OR> Congratulations for the idea of adding this helpful feature to OR> File::Slurp. OR> It is also useful for adding a string at the beginning of the file OR> in an easy way, using something like: OR> edit_file { $_ = "first line\n" . $_ } 'file_name'; that is already supported by prepend_file. prepend_file 'file_name', "first line\n" ; uri -- Uri Guttman ------ u...@stemsystems.com -------- http://www.sysarch.com -- ----- Perl Code Review , Architecture, Development, Training, Support ------ --------- Gourmet Hot Cocoa Mix ---- http://bestfriendscocoa.com --------- -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/