--- David Gilden <[EMAIL PROTECTED]> wrote:
> 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";
No. The argument to use must be a bareword.
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 modu