Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery

Re^3: Creating a unique variable type

by LanX (Bishop)
on Mar 26, 2013 at 22:52 UTC ( #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?

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

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (7)
As of 2018-02-23 13:10 GMT
Find Nodes?
    Voting Booth?
    When it is dark outside I am happiest to see ...

    Results (302 votes). Check out past polls.