in reply to "Method is not in the class but it is there!"

Probably nothing

use Data::Dump::Streamer; print Dump( CC2::Schema::BirthdayCardList->can("add_to_birthday_cards") );

Replies are listed 'Best First'.
Re^2: "Method is not in the class but it is there!"
by shak380 (Novice) on Sep 05, 2011 at 08:36 UTC
    I believe there is something, otherwise how does the code work ? btw, I executed your code and it didn't produce anything. Anymore ideas from anyone ?

      That is not possible :) it should produce something

      use Data::Dump::Streamer; print Dump( Data::Dump::Streamer->can('VERSION') ); __END__ $CODE1 = \&UNIVERSAL::VERSION;
        This was what I tried, please let me know if I screwed up,
        perl -I ~/lib/ -MCC2::Schema::BirthdayCardList -MData::Dump::Streamer +-el 'print Dump(CC2::Schema::BirthdayCardList->can("add_to_birthday_c +ards"))';
        It didn't produce anything. Also, I did this :
        perl -MData::Dump::Streamer -el 'print Dump(Data::Dump::Streamer->can( +"VERSION"))';
        and there was no output.