Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re^3: Creating a unique variable type

by LanX (Saint)
on Mar 26, 2013 at 22:52 UTC ( [id://1025597]=note: print w/replies, xml ) Need Help??


in reply to Re^2: Creating a unique variable type
in thread Creating a unique variable type

> I was under the impression you couldn't place an array inside another array with Perl, am I perhaps incorrect in this assumption?

Of course you can, the irritation stems from the fact that Perl has two representations of complex variables, the standard "list" form with sigil and the "scalar" reference form.

You need to use the reference form, because elements need to be scalars.

Cheers Rolf

( addicted to the Perl Programming Language)

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (5)
As of 2024-04-25 12:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found