Re: lug-bg: Perl
- Subject: Re: lug-bg: Perl
- From: divanov@xxxxxxxxxxxxxxx (Damyan Ivanov)
- Date: Mon, 7 Oct 2002 17:12:35 +0300
On Fri, Oct 04, 2002 at 06:27:31PM -0400 raptor wrote:
> Polzwai single-quotes za da ne escapwash.. (mislq che stawa ne si spomnqm).
> Toest
>
> require 'c:\blah\vlah.pl';
>
> wmesto
>
> require "c:\\blah\\vlah.pl";
>
> double-quotes go kara da interpolira...
>
>
> |Zna4i,
> |az zhiveia s ideita 4e windows mozhe da emulira unix naklonneite 4erti...
> |Da ne bi da barkam?
> | require "D:/www/root/bivi/include/pd.cgi";#tova e ok
> | require "include/pd.cgi";#tova e wrong
> |Az vinagi si pisha UNIX naklonei 4erti i ostavma na windows da emulira tova
> |Naprimer
> |#!D:/www/perl/bin/perl.exe
> |e ok za shebang red pod windows. Viangi sma go pisal taka a ne s 2
> |backslashes..
> |Pozdravi,
> |BIVOL
> |
> |On 04.10.2002 at 14:37:06, Kliment Ognianov <kleo@xxxxxxxxxxx> wrote:
> |
> |> BIVOL ONLINE wrote:
> |>
> |> >Ima li niakoi deto e na 'ti's perl
> |> >idei zasto:
> |> >require "dir/file.pl";
> |> >mi raboti pod LiNUX
> |> >a pod win 2k iska :
> |> >require "/full/path/to/file.pl";
> |> >Nesto tapo e ama ne moga da zacepia sto ?
@ISA?
push @ISA, '.';
require 'dir/file.pl';
Íà ìåí ìè èçãëåæäà êàòî ÷å ëè òåêóùàòà äèðåêòîðèÿ íå å â ñïèñúêà íà
äèðåêòîðèè, â êîèòî äà ñå òúðñÿò ìîäóëè.
Çàùî òîâà å òàêà ñàìî ïîä Ïðîçîðöè - íå çíàì.
äàì
--
Damyan Ivanov Creditreform Bulgaria
divanov@xxxxxxxxxxxxxxx http://www.creditreform.bg/
phone: +359 2 928 2611, 929 3993 fax: +359 2 920 0994
mobile: +359 88 566067
============================================================================
A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers).
http://www.linux-bulgaria.org - Hosted by Internet Group Ltd. - Stara Zagora
To unsubscribe: http://www.linux-bulgaria.org/public/mail_list.html
============================================================================
|