Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: 2014 Code Golf Challenge

by hdb (Monsignor)
on Jan 07, 2014 at 08:16 UTC ( #1069622=note: print w/replies, xml ) Need Help??


in reply to 2014 Code Golf Challenge

The source must not contain any digits, but if you name your script '2014', then the following does the job ;)

print${$|}

Replies are listed 'Best First'.
Re^2: 2014 Code Golf Challenge
by tobyink (Abbot) on Jan 07, 2014 at 08:38 UTC

    That's clever. I must admit that it took me a while to figure out what was going on there.

    use Moops; class Cow :rw { has name => (default => 'Ermintrude') }; say Cow->new->name

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (4)
As of 2019-09-18 04:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    The room is dark, and your next move is ...












    Results (222 votes). Check out past polls.

    Notices?