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

Re^2: Snarky comments on the ddj perl quiz

by ysth (Canon)
on Aug 23, 2007 at 11:21 UTC ( #634613=note: print w/replies, xml ) Need Help??


in reply to Re: Snarky comments on the ddj perl quiz
in thread Snarky comments on the ddj perl quiz

I say "scalar isn't a data type" because all data is either a scalar or a list of scalars, so a scalar isn't really a type of data, just like dog isn't a type of poodle.

Internally, yes, there are data types representing hashes, arrays, opcodes, etc., but at the Perl language level, arrays, hashes, globs, and scalars are variable types, not data types. And the only thing you can do with those variables is get data from them or put it into them, and that data is always a scalar or list of scalars.

  • Comment on Re^2: Snarky comments on the ddj perl quiz

Replies are listed 'Best First'.
Re^3: Snarky comments on the ddj perl quiz
by DrHyde (Prior) on Aug 24, 2007 at 09:27 UTC
    What do you mean a dog isn't a type of poodle? How else are you going to discriminate between Tory Bliar and all the other poodles?

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (7)
As of 2021-01-18 17:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?