Re: plperl & sort

Поиск
Список
Период
Сортировка
От Alex Hunsaker
Тема Re: plperl & sort
Дата
Msg-id 34d269d40811041430xf634a8cr3bbf0ea13e115f1c@mail.gmail.com
обсуждение исходный текст
Ответ на Re: plperl & sort  (Andrew Dunstan <andrew@dunslane.net>)
Список pgsql-bugs
On Tue, Nov 4, 2008 at 15:17, Andrew Dunstan <andrew@dunslane.net> wrote:
>
>
> Alex Hunsaker wrote:
>> Err no you're right its only builtins that use main:: sort being the
>> only one I know of off the top of my head... its a shame
>> PLContainer->share('$main::a'); does not seem to work..
>>
>
>
> $a and $b are magical *package* variables. See "perldoc perlvar". This has
> nothing whatever to do with main::

Hah right! The perl is strong in this one! =)

I was just remember seeing warnings from typos like:
$ perl -We '$a = $b;'
Name "main::a" used only once: possible typo at -e line 1.
Name "main::b" used only once: possible typo at -e line 1.

... but that's neither here nor there

В списке pgsql-bugs по дате отправления:

Предыдущее
От: Andrew Dunstan
Дата:
Сообщение: Re: plperl & sort
Следующее
От: nathan wagner
Дата:
Сообщение: Re: plperl & sort