in reply to Re: A Few Questions About IO::File
in thread A Few Questions About IO::File
Thanks for the prompt answer. So both methods are valid and safe? Because like I mentioned previously, the $fh->close method fits better in my brain.
I read the IO::File documentation. While I understand that getlines is supposed to be used in list context, using it directly by chaining the methods is not mentioned in there and I'm wondering the safety of using such method.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: A Few Questions About IO::File
by tobyink (Canon) on Mar 18, 2013 at 15:19 UTC | |
by rpetrelli (Novice) on Mar 18, 2013 at 15:26 UTC | |
by tobyink (Canon) on Mar 18, 2013 at 16:08 UTC | |
by rpetrelli (Novice) on Mar 19, 2013 at 00:45 UTC | |
by Anonymous Monk on Mar 18, 2013 at 15:29 UTC | |
by rpetrelli (Novice) on Mar 18, 2013 at 15:36 UTC | |
|
Re^3: A Few Questions About IO::File
by hdb (Monsignor) on Mar 18, 2013 at 15:19 UTC | |
by tobyink (Canon) on Mar 18, 2013 at 15:30 UTC |