Re: plperl & sort

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: Alex Hunsaker <badalex(at)gmail(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Jeff <threshar(at)threshar(dot)is-a-geek(dot)com>, pgsql-bugs(at)postgresql(dot)org
Subject: Re: plperl & sort
Date: 2008-11-04 22:17:05
Message-ID: 4910C9E1.7020706@dunslane.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Alex Hunsaker wrote:
> On Tue, Nov 4, 2008 at 15:02, Alex Hunsaker <badalex(at)gmail(dot)com> wrote:
>
>> On Tue, Nov 4, 2008 at 14:43, Andrew Dunstan <andrew(at)dunslane(dot)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

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Alex Hunsaker 2008-11-04 22:30:33 Re: plperl & sort
Previous Message Alex Hunsaker 2008-11-04 22:12:28 Re: plperl & sort