Jeff 'japhy' Pinyan wrote: > Now you want to call the Inn::HTML() function, right? You can't > easily do it if strict is turned on. Here's one way, though: > > my $glob = $main::{$Player{Location} . "::"}{HTML}; > $glob->();
Or just turn off strict for a sec: { no strict 'refs'; &{"$Player{Location}::HTML"}() } -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>