Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
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 taking refuge in the Monastery: (17)
As of 2015-07-07 17:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (93 votes), past polls