Wednesday, 21 August 2013

Add .pm file to CakePHP

Add .pm file to CakePHP

I have a .pm file with a 30+ subs. The functionality in those subs needs
to be called from my CakePHP pages. What is the Cake way to include the
.pm file in a CakePHP project so I can call the subs from a View or
Controller?
Where should I put the .pm file? How should I include the file into the
CakePHP project? How do I call the subs in the .pm file?
I can't find anything in the CakePHP documentation. The place that it
seems it should be is in the App, but I can't find anything to do what I
want to do.

No comments:

Post a Comment