On Thursday, June 6, 2002, at 04:35 , Jenda Krynicky wrote:
[..]
>
> P.S.: It's not just the *input why I said it was a Perl4 code. It was
> also the & and besides the readparse() is part of the old cgi-lib.pl
> library.
ah, I see, sorta like when they had that episode
of Star Track the Next In
From: drieux <[EMAIL PROTECTED]>
> On Wednesday, June 5, 2002, at 03:05 , Jenda Krynicky wrote:
>
> > From:"siren jones" <[EMAIL PROTECTED]>
> >> I'm trying to figure out some cgi code which has the statment
> >>
> >> &readparse(*input);
> [..]
> > What is it? A clear hint that the code was writt
On Wednesday, June 5, 2002, at 03:05 , Jenda Krynicky wrote:
> From:"siren jones" <[EMAIL PROTECTED]>
>> I'm trying to figure out some cgi code which has the statment
>>
>> &readparse(*input);
[..]
> What is it? A clear hint that the code was written for Perl 4.
> Run away from it if you can.
>
From:"siren jones" <[EMAIL PROTECTED]>
> I'm trying to figure out some cgi code which has the statment
>
> &readparse(*input);
>
> I know readparse is a subroutine, but what is "*input"? Is that a
> variable? Reference? Parameter? What?
What is it? A clear hint that the code was written for Pe
On Thursday, May 30, 2002, at 06:42 , siren jones wrote:
>
> I'm trying to figure out some cgi code which has the statment
>
> &readparse(*input);
>
> I know readparse is a subroutine, but what is "*input"? Is that a
> variable? Reference? Parameter? What?
it's a type glob uses as a 'variable
Ouch.. that's really wrong.
read up on:
perldoc perldata
(search for Typeglobs)
Here is a snip from the manpage:
Typeglobs and Filehandles
Perl uses an internal type called a typeglob to hold an
entire symbol table entry. The type prefix of a typeglob is
a "*", because it