Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-bugs by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group