|Think about Loose Coupling|
Re^2: Perl losing, unfairlyby demerphq (Chancellor)
|on Jun 16, 2004 at 11:08 UTC||Need Help??|
I mailed the author with some issues and have recieved a reply. One part is relevent to what you just said:
i fixed. For example, for % perl -le 'print $ARGV' i take the length of -l print $ARGV
But the fact remains that he has NOT been generous to Perl. In fact the way I read the code hes been ungenerous to perl. Consider all the examples that involve or exit 1 (which is not normal idion to return an error value to the OS in perl, unless that error MUST specifically be 1, any sane programmer would use die,) or the fact that in many of the examples he includes the invocation in the perl examples but not in any of the other examples.
But what really gets me is the File::Find example. His code reads to me the way someone would write it if they deliberately want to disadvantage perl.
Why the no_chdir here, or the options hash at all?
So, by my reading of this once these changes are made Perl wins.
First they ignore you, then they laugh at you, then they fight you, then you win.