frasco has asked for the wisdom of the Perl Monks concerning the following question:
Dear Monks, I have some cgi-scripts that do their job on a system with perl 5.8 (Ubuntu 8.04). Now I passed these scripts to a PC with perl 5.10 (Ubuntu 8.10) and they don't want to work at all.
By debugging these scripts it appears: "Can't locate B/Bytecode.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.10.0 ...etc.)"
One of the main problems seems to me this small pragma section:
use FindBin qw($Bin); use lib "$Bin/lib"; use WebDB;
If I comment the package I created "use WebDB", the script works (more or less) but, since it manage the entire database connection, my program doesn't work properly.
It is possible that it depends on some new features of 5.10?
Thank you in advance, Francesco
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: from 5.8 to 5.10
by clinton (Priest) on Nov 08, 2008 at 11:56 UTC | |
by frasco (Beadle) on Nov 08, 2008 at 13:35 UTC | |
by szabgab (Priest) on Nov 08, 2008 at 13:38 UTC | |
by Anonymous Monk on Nov 08, 2008 at 14:06 UTC | |
by frasco (Beadle) on Nov 08, 2008 at 13:54 UTC | |
by szabgab (Priest) on Nov 08, 2008 at 14:03 UTC | |
| |
by JadeNB (Chaplain) on Nov 10, 2008 at 00:36 UTC | |
|
Re: from 5.8 to 5.10
by ig (Vicar) on Nov 08, 2008 at 18:19 UTC | |
by frasco (Beadle) on Nov 09, 2008 at 18:54 UTC | |
|
Re: from 5.8 to 5.10
by Pr0t0n (Novice) on May 29, 2009 at 21:52 UTC | |
by citromatik (Curate) on Jun 01, 2009 at 08:18 UTC | |
by Anonymous Monk on Jun 02, 2009 at 00:40 UTC | |
by Pr0t0n (Novice) on Jun 02, 2009 at 00:43 UTC |