Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: Re: Re: Re: How do I tighten this with map?

by IraTarball (Monk)
on Oct 16, 2001 at 21:47 UTC ( #119200=note: print w/replies, xml ) Need Help??


in reply to Re: Re: Re: How do I tighten this with map?
in thread How do I tighten this with map?

Of course you are right. I thought this same thing, and tried to allude to these problems in my post. But I am young and brash and still try to reduce, perhaps too far.

Mostly because it's fun.

On an aside, if the @files array is not needed then japhy's solution which removes one whole regex evaluation must be considered better by some definition of efficiency. Those things are expensive.

Ira,

"My thoughts are my own, I think."
~Me, I think

  • Comment on Re: Re: Re: Re: How do I tighten this with map?

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://119200]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (7)
As of 2019-07-22 22:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    If you were the first to set foot on the Moon, what would be your epigram?






    Results (21 votes). Check out past polls.

    Notices?