Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister

Re^2: the basic datatypes, three

by Happy-the-monk (Monsignor)
on May 10, 2006 at 09:25 UTC ( #548417=note: print w/ replies, xml ) Need Help??

in reply to Re: the basic datatypes, three
in thread the basic datatypes, three

What would happen if you assign a list value to a scalar variable?
And for this particular question the answer would be, the scalar get the size value of the list.

In your post, you keep mixing up list and array behaviour/context - or maybe you just misnamed "array" as "list".

see davorgs post further below to clarify the difference.

Cheers, Sören

Comment on Re^2: the basic datatypes, three
Re^3: the basic datatypes, three
by Anonymous Monk on Nov 30, 2007 at 15:30 UTC
    is there any possible way to find, what type is a variable of these three types.

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (7)
As of 2015-01-26 06:38 GMT
Find Nodes?
    Voting Booth?

    My top resolution in 2015 is:

    Results (186 votes), past polls