in reply to Re: perl beginner questionin thread perl beginner question
Let's say you have a package: test.pm
package test; sub mysub { return 'babayaga'; } 1; [download]
Then in your .pl file
#!/usr/bin/perl use strict; use test; print test::mysub(); [download]