Beefy Boxes and Bandwidth Generously Provided by pair Networks Joe
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

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

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

This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.


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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://298723]
help
Sections?
Information?
Find Nodes?
Leftovers?
    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.