Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: Re: Re: Anagram Solver

by salvadors (Pilgrim)
on Jan 10, 2001 at 16:07 UTC ( [id://50907]=note: print w/replies, xml ) Need Help??


in reply to Re: Re: Anagram Solver
in thread Anagram Solver

Here's 12 more characters taken off..

Nice.

-l switch to save 6 characters. Must remember that. In fact must learn a lot more of the command line switches.

I should really have spotted the spurious space at the start, the calling the sub without ()s, the needless $_, and being able to remove the () on the for by moving the for to the end though ...

That gets the actual 'executable' code down to 69 characters now, which I think is much more in keeping with the original "do it one line" ideal..

You want it in one line? Does it have to fit in 80 columns? :-) 

   --Larry Wall in <7349@jpl-devvax.JPL.NASA.GOV>

Tony

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (3)
As of 2024-04-24 21:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found