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

Re: TIMTOWTDI doesn't mean invent an outlandish approach (usually)

by Anonymous Monk
on Oct 12, 2003 at 21:33 UTC ( #298723=note: print w/ replies, xml ) Need Help??


in reply to TIMTOWTDI doesn't mean invent an outlandish approach (usually)

I think you miss the point of some the wackier answers. Perl is expressive, which allows one to pursue a little creativity. I am not saying that most of the "creative" answers are worth considering as solutions to the task at hand, their worth lies in the creative play that brought them forth and in any creativity they might inspire in others. I seriously doubt anyone is pushing for XP in these cases (and often as not they are posted anonymously anyway). Chaos and creativity are good things in moderation :-)

Besides, everyone knows that the best way to obtain the length of a string is:

my $len = 0; $string =~ s/(.)/q|'$len++;$1'|/gimmesomesex;


Comment on Re: TIMTOWTDI doesn't mean invent an outlandish approach (usually)
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (14)
As of 2014-09-23 13:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (222 votes), past polls