in reply to Re^2: Common Perl Pitfalls
in thread Common Perl Pitfalls
It always amazes me people prefer downloading a CPAN module, and using it, over writing a one-liner. I'm even more amazed that people think that just because there's a module on CPAN, it automatically is fully debugged and covers all the edge cases.
I do wonder though, if it takes half a day to write:
how long do you need to type in:my $slurp = do {local $/; <HANDLE>};
Twice the number of lines, so, a full work day?use Some::Module::From::CPAN; my $slurp = Some::Module::From::CPAN->some_API(some_argument);
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^4: Common Perl Pitfalls
by jdporter (Paladin) on Apr 11, 2012 at 15:15 UTC | |
by JavaFan (Canon) on Apr 11, 2012 at 15:29 UTC | |
by jdporter (Paladin) on Apr 11, 2012 at 16:14 UTC |
In Section
Meditations