@INC problem

Honza Pazdziora adelton na informatics.muni.cz
Pondělí Květen 11 09:48:04 MEST 1998


> mam problem s obsahem @INC. kdyz spustim skript  shellu, @INC spravne
> obsahuje adresar .
> pokud to pustim z www stranky tak mam smulu, neni tam.
> 
> vraci to pak:
> Can't locate Knihovnicka.pm in @INC (@INC contains:
> /usr/lib/perl5/i386-linux/5.00401 /usr/lib/perl5
> /usr/lib/perl5/site_perl/i386-linux /usr/lib/perl5/site_perl) at
> index.cgi.pl line 11.
> BEGIN failed--compilation aborted at index.cgi.pl line 11.

BEGIN { unshift @INC, '.' }
use Knihovnicka;

> jenze ja potrebuji udelat use Knihovnicka;
> a ten modul mam v akt.adresari

Ona ale otazka je, jaky je na Webu aktualni adresar.

------------------------------------------------------------------------
 Honza Pazdziora | adelton na fi.muni.cz | http://www.fi.muni.cz/~adelton/
                   I can take or leave it if I please
------------------------------------------------------------------------


Další informace o konferenci Perl