Commit 3b5338da authored by Bruce Momjian's avatar Bruce Momjian

More single-quote fixes.

parent 4108ee96
<!-- <!--
$Header: /cvsroot/pgsql/doc/src/sgml/plperl.sgml,v 2.3 2000/03/31 06:17:21 thomas Exp $ $Header: /cvsroot/pgsql/doc/src/sgml/plperl.sgml,v 2.4 2000/05/09 18:30:43 momjian Exp $
--> -->
<chapter id="pl-perl"> <chapter id="pl-perl">
...@@ -101,7 +101,7 @@ SELECT name, totalcomp(basesalary, bonus) from employee ...@@ -101,7 +101,7 @@ SELECT name, totalcomp(basesalary, bonus) from employee
<programlisting> <programlisting>
CREATE FUNCTION empcomp(employee) returns int4 CREATE FUNCTION empcomp(employee) returns int4
AS 'my $emp = shift; AS 'my $emp = shift;
return $emp->{'basesalary'} + $emp->{'bonus'};' return $emp->{''basesalary''} + $emp->{''bonus''};'
LANGUAGE 'plperl'; LANGUAGE 'plperl';
</programlisting> </programlisting>
A tuple is passed as a reference to hash. The keys are the names of A tuple is passed as a reference to hash. The keys are the names of
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment