http://qs321.pair.com?node_id=812242


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"