Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re^2: the basic datatypes, three

by Happy-the-monk (Abbot)
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
Replies are listed 'Best First'.
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 surveying the Monastery: (16)
As of 2015-07-31 13:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (277 votes), past polls