Re: plperl & sort - Mailing list pgsql-bugs

From Andrew Dunstan
Subject Re: plperl & sort
Date
Msg-id 4910C9E1.7020706@dunslane.net
Whole thread Raw
In response to Re: plperl & sort  ("Alex Hunsaker" <badalex@gmail.com>)
Responses Re: plperl & sort
List pgsql-bugs
Alex Hunsaker wrote:
> On Tue, Nov 4, 2008 at 15:02, Alex Hunsaker <badalex@gmail.com> wrote:
>
>> On Tue, Nov 4, 2008 at 14:43, Andrew Dunstan <andrew@dunslane.net> wrote:
>>
> But by all means if you can come up with a robust way of allowing
>
>>> the more traditional way of calling sort routines, send it in.
>>>
>> Well its not just sort its anything that uses main:: right?
>>
>
> 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::

cheers

andrew

pgsql-bugs by date:

Previous
From: "Alex Hunsaker"
Date:
Subject: Re: plperl & sort
Next
From: "Alex Hunsaker"
Date:
Subject: Re: plperl & sort