Hello,

I have moved my subroutines to a second file
and have named it "subs_lib.pl"

In the main file I have:

require "subs_lib.pl";

Is the following equivalent:

use "subs_lib.pl";
-----

Secondly do I need:

#!/usr/bin/perl

as the first line in my "subs_lib.pl"

and are Libraries really modules with .pl instead of .pm?

Thank for everyone's help here :)

Thanks

Dave

Reply via email to