Re: Correct way to pass a filehandle then? Re: Simple pointer kind of question

2002-06-06 Thread drieux
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

Re: Correct way to pass a filehandle then? Re: Simple pointer kind of question

2002-06-06 Thread Jenda Krynicky
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

Correct way to pass a filehandle then? Re: Simple pointer kind of question

2002-06-05 Thread drieux
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. >

Re: Simple pointer kind of question

2002-06-05 Thread Jenda Krynicky
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

Re: Simple pointer kind of question

2002-05-30 Thread drieux
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

RE: Simple pointer kind of question

2002-05-30 Thread Nikola Janceski
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