Re: Miscellaneous changes to plperl [PATCH]
Alex Hunsaker <badalex@gmail.com>
From: Alex Hunsaker <badalex@gmail.com>
To: "David E. Wheeler" <david@kineticode.com>
Cc: Tim Bunce <Tim.Bunce@pobox.com>, pgsql-hackers@postgresql.org
Date: 2010-01-23T19:20:23Z
Lists: pgsql-hackers
On Sat, Jan 23, 2010 at 11:30, David E. Wheeler <david@kineticode.com> wrote: > On Jan 22, 2010, at 7:59 PM, Alex Hunsaker wrote: > >> $name =~ s/::|'/_/g; # avoid package delimiters >> + $name =~ s/'/\'/g; > > Looks to me like ' is already handled in the line above the one you added, no? Well no, i suppose we could fix that via: $name =~ s/[:|']/_/g; Im betting that was the intent.