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

Re^3: new keyword "size" to avoid scalar trap ? ( scalar @array != scalar(LIST) )

by roboticus (Chancellor)
on Dec 07, 2012 at 20:11 UTC ( #1007819=note: print w/replies, xml ) Need Help??


in reply to Re^2: new keyword "size" to avoid scalar trap ? ( scalar @array != scalar(LIST) )
in thread new keyword "size" to avoid scalar trap ? ( scalar @array != scalar(LIST) )

LanX:

No, I didn't notice the error. And I've never used goatse, turtle or kite. Perhaps if I had, I'd see the need for it.

As far as the practicality of what length $str is supposed to return, I didn't give it much thought. I was just expressing my color preference for new new shed out back. ;^)

...roboticus

When your only tool is a hammer, all problems look like your thumb.

  • Comment on Re^3: new keyword "size" to avoid scalar trap ? ( scalar @array != scalar(LIST) )

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1007819]
help
Chatterbox?
[Discipulus]: eh, at the end i cannot compete with brother choroba, i just profited he is at lunch
[pra]: What is the best way to determine if a given string is a valid color?
[Discipulus]: context pra? tk html console naturla language?
[Corion]: Or HTML color like #c0ffee ?
[pra]: Perl/Tk. I want to input a file that will contain color names, but users might not know what names are valid

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (5)
As of 2017-10-17 11:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My fridge is mostly full of:

















    Results (226 votes). Check out past polls.

    Notices?