Forum Moderators: coopster & phranque

Message Too Old, No Replies

Question about using modules

Question about using modules

         

lindajames

8:30 pm on Apr 14, 2003 (gmt 0)

10+ Year Member



i have a script that uses a module called accutil.pm and in my script it says:

require accutil;

i need to rename the accutil.pm module accutil2.pm, i assume i change the above line to:

require accutil2;

However, withing my script, i also have:

my $cfgfile = accutil::cfgfile();

does this mean i will have to change this to:

my $cfgfile = accutil2::cfgfile();

?

and also in alot of other places in the script, i also have similar lines as above, so will i need to change them all to accutil2? or is it ok just to do the one at the top?

Any comments would be much appreciated.

Cheers
Linda

Damian

8:32 pm on Apr 14, 2003 (gmt 0)

10+ Year Member



Looks like you should change them all Linda.
One way to find out though...