in reply to Re^12: If you believe in Lists in Scalar Context, Clap your Hands
in thread If you believe in Lists in Scalar Context, Clap your Hands
The only first-class objects in a very strict sense of which I can think right now in Perl are scalars, references, typeglobs, and perhaps (classic, blessed reference to something) object instances. I hesitate to include object instances since they are "just blessed references", but when returned or assigned they do carry their class information and instance information with them at the language level.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^14: If you believe in Lists in Scalar Context, Clap your Hands
by chromatic (Archbishop) on Oct 29, 2008 at 17:46 UTC | |
by mr_mischief (Monsignor) on Oct 29, 2008 at 18:29 UTC | |
by JavaFan (Canon) on Oct 29, 2008 at 18:38 UTC | |
by mr_mischief (Monsignor) on Oct 29, 2008 at 19:09 UTC |