summaryrefslogtreecommitdiff
path: root/pp.c
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2000-07-26 17:53:31 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2000-07-26 17:53:31 +0000
commitf4d13ee9d0b78f23038694a8d4237f00da3ad10c (patch)
tree108fd1ba1a50ecae4676be3f211323ef2dc63a40 /pp.c
parented8504609e65bf608915df5053decb2c1e5c56e9 (diff)
downloadperl-f4d13ee9d0b78f23038694a8d4237f00da3ad10c.tar.gz
Fix *foo{FORMAT}.
From: "H.Merijn Brand" <h.m.brand@hccnet.nl> Subject: Re: Looking for a starting point (Mark-Jason?, Chip?, Jarkko?) Date: Wed, 26 Jul 2000 19:51:02 +0200 Message-Id: <20000726194952.41DD.H.M.BRAND@hccnet.nl> From: Graham Barr <gbarr@pobox.com> Subject: Re: Looking for a starting point (Mark-Jason?, Chip?, Jarkko?) Date: Wed, 26 Jul 2000 17:38:36 +0100 Message-ID: <20000726173836.L472@pobox.com> p4raw-id: //depot/perl@6445
Diffstat (limited to 'pp.c')
-rw-r--r--pp.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/pp.c b/pp.c
index cb55181a83..988619f34f 100644
--- a/pp.c
+++ b/pp.c
@@ -599,6 +599,9 @@ PP(pp_gelem)
case 'F':
if (strEQ(elem, "FILEHANDLE")) /* XXX deprecate in 5.005 */
tmpRef = (SV*)GvIOp(gv);
+ else
+ if (strEQ(elem, "FORMAT"))
+ tmpRef = (SV*)GvFORM(gv);
break;
case 'G':
if (strEQ(elem, "GLOB"))