Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses

Re^9: typeglob/symbolic reference question

by andal (Hermit)
on Nov 09, 2010 at 09:37 UTC ( #870268=note: print w/replies, xml ) Need Help??

in reply to Re^8: typeglob/symbolic reference question
in thread typeglob/symbolic reference question

I guess, I can't understand what is the meaning of "explanation for the syntax". I know that there's syntax for doing different things. I don't understand why the syntax has to be explained. I mean, it is not common to search for the explanation of syntax of English language. The syntax (together with words) makes English different from say Russian :)

I guess for now I'll just have to go with *color and *{"color"} are equivalent--even though *{"color"} is not legal under strict refs.

"strict refs" just tries to limit you to the rigid forms of "normal" usage. This is done in hope to catch some obscure errors. It does not change the fact, that *color and *{"color"} do the same thing. Though with the second syntax you can do more obscure things than with the first (that is why "strict" does not approve it :) ) Well, as long as your understanding does not limit you in what you can do with perl, there shouldn't be any problems.

  • Comment on Re^9: typeglob/symbolic reference question

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (1)
As of 2022-11-28 05:47 GMT
Find Nodes?
    Voting Booth?