Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: Re: Golf: Embedded In Order

by chipmunk (Parson)
on Apr 30, 2001 at 09:08 UTC ( #76551=note: print w/ replies, xml ) Need Help??


in reply to Re: Golf: Embedded In Order
in thread Golf: Embedded In Order

Since the goal of Perl Golf is to make the code as short as possible, it seems to me that making the code strict-compliant is a waste of characters. Especially since one could just do something like:

sub seq{ ($~=pop)=~s/./$&.*/sg;pop=~/$~/s }
:)

I do try to avoid warnings in my Golf solutions, though.


Comment on Re: Re: Golf: Embedded In Order
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (2)
As of 2014-09-22 04:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

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











    Results (178 votes), past polls