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

Re^2: Sorting The Date format Values without using any perl modules.

by eric256 (Parson)
on Dec 26, 2005 at 20:24 UTC ( #519199=note: print w/ replies, xml ) Need Help??


in reply to Re: Sorting The Date format Values without using any perl modules.
in thread Sorting The Date format Values without using any perl modules.

No + or =

sub add_em { my $sum; for (@_) { for (1..$_) { $sum--; } } return -$sum; } print add_em(1..5);

Sorry just couldn't resist ;)


___________
Eric Hodges


Comment on Re^2: Sorting The Date format Values without using any perl modules.
Download Code
Re^3: Sorting The Date format Values without using any perl modules.
by Skeeve (Vicar) on Dec 26, 2005 at 23:44 UTC
    No +, - or =:
    print sum(1..10); sub sum { return scalar map { 1..$_ } @_ }

    s$$([},&%#}/&/]+}%&{})*;#$&&s&&$^X.($'^"%]=\&(|?*{%
    +.+=%;.#_}\&"^"-+%*).}%:##%}={~=~:.")&e&&s""`$''`"e

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (5)
As of 2014-11-25 01:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred Perl binaries come from:














    Results (148 votes), past polls