Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: Re: Re: Simplifying code (Not obfuscation)

by broquaint (Abbot)
on Mar 04, 2003 at 12:15 UTC ( [id://240306]=note: print w/replies, xml ) Need Help??


in reply to Re: Re: Simplifying code (Not obfuscation)
in thread Simplifying code (Not obfuscation)

twenty-Four!
0123456789012345678901234 perl -le 'print`echo foo`=~/(.*)\n/' __output__ foo
This of course assumes you're only expecting a single line of output, isn't hugely portable and the golf score also depends on the system call.
HTH

_________
broquaint

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others studying the Monastery: (8)
As of 2024-03-28 11:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found