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

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

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

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (6)
As of 2014-08-02 02:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Who would be the most fun to work for?















    Results (54 votes), past polls