Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
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 browsing the Monastery: (6)
As of 2014-10-20 04:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (72 votes), past polls