laziness, impatience, and hubris | |
PerlMonks |
Re^4: 2014 Code Golf Challengeby tobyink (Canon) |
on Jan 01, 2014 at 14:46 UTC ( [id://1068863]=note: print w/replies, xml ) | Need Help?? |
According to the StackExchange golfing rule book, you're allowed to assume perl is being run as perl -M5.010, so can use say. This takes the solution down to 10 bytes, beating even many of the esolangs, while still being pretty obvious how it works.
use Moops; class Cow :rw { has name => (default => 'Ermintrude') }; say Cow->new->name
In Section
Obfuscated Code
|
|