Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
Hi,
I'm using a shared Freebsd server and it has an older version (3x) of CGI::Session installed. I'm using the newer 4.38 on my computer running XP and my scripts work. I needed to make quite a bit of changes to get them to work on the older CGI::Session version - in particular, this version doesn't support "load" and is quite a pain.
Can I simply copy the entire folder that contains CGI::Session (and its related files) from my computer to a folder on the shared server? Or must I install it from the server itself?
And after it's installed, how do I access the newer version? At this point, I know I've to add:
# Assumeing the folder containing CGI::Session is installed in '/usr/h +ome/mysite/modules/site/CGI/' use lib '/usr/home/mysite/modules'; use CGI::Session;
Does "use CGI::Session" call the older version installed by the hosting company or does it call the newer one I've installed?
Please enlighten me.
Thanks in advance :)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: How to use a new version of a module?
by friedo (Prior) on Dec 25, 2008 at 09:46 UTC | |
|
Re: How to use a new version of a module?
by wfsp (Abbot) on Dec 25, 2008 at 11:08 UTC | |
|
Re: How to use a new version of a module?
by Anonymous Monk on Dec 25, 2008 at 11:37 UTC |