Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: TMTOWTDI the new year!

by giulienk (Curate)
on Dec 23, 2001 at 20:19 UTC ( [id://134069]=note: print w/replies, xml ) Need Help??


in reply to TMTOWTDI the new year!

With a fresh mind (and some luck) I got this new cool one:$;+=ord for(split'','MerryXMAS&&HappyNEWYEAR!');print$;


Update: the following looks betterprint eval join'+',map{ord}split'','MerryXMAS&&HappyNEWYEAR!'

gkinueliileunikg

Replies are listed 'Best First'.
Re: Re: TMTOWTDI the new year!
by petral (Curate) on Dec 25, 2001 at 04:04 UTC
    Very nice! Maybe put the greeting first?:
    $_= "MerryXMAS&&HappyNEWYEAR!"; s/./"+".ord$&/ge; print eval,$/


      p

Log In?
Username:
Password:

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

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

    No recent polls found