[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [FWP] Something like "grepfirst"



Randal wrote:
> >>>>> "John" == John Porter <jdporter@min.net> writes:
> 
> John> sub first_existing_dir {
> John>   my $d=shift or die;
> 
> Fails if $_[0] eq "0";


Easy enough to fix, if that happens to be a problem for you.

Have anything *substantive* to say about my solution?

John Porter


==== Want to unsubscribe from Fun With Perl?  Well, if you insist...
==== Send email to <fwp-request@technofile.org> with message _body_
====   unsubscribe