Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change

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?


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

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://109592]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (4)
As of 2018-06-20 12:14 GMT
Find Nodes?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?

    Results (116 votes). Check out past polls.