Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re^4: scoping problems

by FloydATC (Hermit)
on Jun 03, 2013 at 17:39 UTC ( #1036813=note: print w/ replies, xml ) Need Help??


in reply to Re^3: scoping problems
in thread scoping problems

The logic of this, determined by Larry at the Dawn of Time (Perl version 1.0), is that the elements of arrays (and also of hashes associative arrays) are always and only scalars.

Interestingly, this logic (which sounds perfectly sane to me) has been abandoned in Perl 6. I don't understand why.

-- FloydATC

Time flies when you don't know what you're doing


Comment on Re^4: scoping problems

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (4)
As of 2014-09-02 00:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite cookbook is:










    Results (18 votes), past polls