Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: Re (tilly) 3: (Golf) Strings-to-Array

by demerphq (Chancellor)
on Sep 01, 2001 at 05:37 UTC ( #109592=note: print w/ replies, xml ) Need Help??


in reply to Re (tilly) 3: (Golf) Strings-to-Array
in thread (Golf) Strings-to-Array

Hmm, and I reran it with literal params (I was using an @array) and I got that warnings as well. Interesting. OST. It follows from the fact @_ alises not copies, but still somehow surprising.

And it is also very interesting to learn that '00' evals to true. Definitely *not* what I expected. I was thinking that it would fall under the evals to 0 rule, but now I see not. Thanx.

On the other hand I tested a bunch of cases with 0's in them and I couldnt see how it affected the solution?

Yves


Comment on Re: Re (tilly) 3: (Golf) Strings-to-Array

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (7)
As of 2015-07-01 23:15 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 (24 votes), past polls