Shawn H Corey wrote:
On 11-03-04 02:30 PM, Brian F. Yulga wrote:
> my brain nearly exploded when reading the section "returning a
> subroutine from a subroutine"
Just wait until you get to the part where you can treat an anonymous
subroutine as an object. :D
For details, see `perldoc -f bless`.
"bless REF
This function tells the thingy referenced by REF that it
is now
an object in the CLASSNAME package. ..."
'thingy' is a great technical term. ;-)
When I learned rudimentary C/C++ in school, I was taught pointers and
structs/classes initially as separate concepts, and later the two were
connected. It's becoming apparent to me that learning Perl objects
_requires_ a solid understanding of references first...
--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/