Loading ...
Sorry, an error occurred while loading the content.
 

Re: [PBML] Class::ISA

Expand Messages
  • Perl Mails
    Thank you Randal, I missed the required. -PM ... writes: Perl Why the below code does not work as expected, (WinME, ActivePerl 5.8.4) Perl use strict; Perl
    Message 1 of 5 , Feb 13, 2005
      Thank you Randal,
      I missed the required.
      -PM


      "Randal L. Schwartz" <merlyn@...> wrote:
      >>>>> "Perl" == Perl Mails
      writes:

      Perl> Why the below code does not work as expected, (WinME, ActivePerl 5.8.4)

      Perl> use strict;
      Perl> use Class::ISA;
      Perl> print "The super_classes: ",
      Perl> join(",", Class::ISA::super_path('Net::FTP')),"\n";

      Did you 'require Net::FTP' anywhere, or did you expect it to just
      be psychic? It shows the *current* superclasses for that class,
      which is empty at the beginning of the program.

      --
      Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095

      Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
      See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!



      ---------------------------------
      Do you Yahoo!?
      The all-new My Yahoo! � What will yours do?

      [Non-text portions of this message have been removed]
    Your message has been successfully submitted and would be delivered to recipients shortly.