Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re^4: filehandler stored in hash-ref

by kyle (Abbot)
on Dec 10, 2009 at 17:05 UTC ( #812242=note: print w/ replies, xml ) Need Help??


in reply to Re^3: filehandler stored in hash-ref
in thread filehandler stored in hash-ref

You can bless some reference into a class without the class (package) being loaded.

my $demo = bless {}, 'I::Just::Made::This::Up'; print "Things in UNIVERSAL:: work.\n" if $demo->isa('I::Just::Made::Th +is::Up'); $demo->opened(); __END__ Things in UNIVERSAL:: work. Can't locate object method "opened" via package "I::Just::Made::This:: +Up"


Comment on Re^4: filehandler stored in hash-ref
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (5)
As of 2014-09-19 01:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (129 votes), past polls