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: (view raw or whole 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::



In response to


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-2015 The PostgreSQL Global Development Group