Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

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?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (2)
As of 2018-08-15 01:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Asked to put a square peg in a round hole, I would:









    Results (158 votes). Check out past polls.

    Notices?