develooper Front page | perl.perl5.porters | Postings from February 2008

bug or feature in B::class()

Thread Next
From:
Jim Cromie
Date:
February 15, 2008 10:25
Subject:
bug or feature in B::class()
Message ID:
47B5D8C9.9060309@gmail.com

B docs class(OBJ) as a miscellaneous utility function.
Is there a (good) reason why it fails as a method ?


DB<1>
main::(t/inspect.t:71): my $start = B::main_start();
 
 
 
                                    DB<1> $start->class
Can't locate object method "class" via package "B::OP" at (eval 
14)[/usr/local/lib/perl5/5.10.0/perl5db.pl:638] line 2.

 
 
 
                     DB<3> p B::class($start)
OP



Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About