In the tuturial at perl.com i read that to add a view_picture I need to create new file and write in it:
package ISellIt::Product;
sub view_picture {
my ($self, $r) = @_;
# ...
}
Now:
What name should i call this file, and how the driver file ISelIt.pm
will know about it.
What i did but didn't work:
Created directory named ISelIt
In it i put the file Product.pm which have the code above.
Is this the way?
Tnx
Kfir
