Either there is something wrong with me (probably is), or with Class::DBI.
Why are there retrieve, retrieve_all, search and search_like methods that all do kinda the same thing?
Also, why does it invent add_to_cds functions when add_to(cds) or {cds}->add_to or something would me much more logical (at least to me)?
I also dont quite get how sometimes i need to call retrieve, and sometimes i don't, like so:
Anyone else's brain works (un)like mine?
Why are there retrieve, retrieve_all, search and search_like methods that all do kinda the same thing?
Also, why does it invent add_to_cds functions when add_to(cds) or {cds}->add_to or something would me much more logical (at least to me)?
I also dont quite get how sometimes i need to call retrieve, and sometimes i don't, like so:
I am still retrieving the year am i not?my $cd = Music::CD->retrieve(1); my $year = $cd->year;
Anyone else's brain works (un)like mine?
Back to
Meditations