Help for this page

Select Code to Download


  1. or download this
    1..2
    ok 1 - use YMD::WWW::DB;
    ...
    #     YMD::WWW::DB->can('We can access the ->connect() method') failed
    # Testing YMD::WWW::DB 0.01, Perl 5.008008, /var/usr/bin/perl
    # Looks like you failed 1 test of 2.
    
  2. or download this
    package YMD::WWW::DB;
    
    ...
    }
    
    1; # End of YMD::WWW::DB
    
  3. or download this
    #!perl -T
    
    ...
    can_ok('YMD::WWW::DB','connect','We can access the ->connect() method'
    +);
    
    diag( "Testing YMD::WWW::DB $YMD::WWW::DB::VERSION, Perl $], $^X" );