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 represents all types.  This used to be the
     preferred way to pass arrays and hashes by reference into a
     function, but now that we have real references, this is
     seldom needed.

     The main use of typeglobs in modern Perl is create symbol
     table aliases.  This assignment:

         *this = *that;

     makes $this an alias for $that, @this an alias for @that,
     %this an alias for %that, &this an alias for &that, etc.

     [snipped the rest]

There is more into it than that, which the rest of the docs explain (I
think).
Can you tell us whereelse 'input' is in your code and post some of that
code?
It could be anything, (FILEHANDLE, %HASH, @array, $scalar).




> -----Original Message-----
> From: siren jones [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, May 30, 2002 9:43 AM
> To: [EMAIL PROTECTED]
> Subject: Simple pointer kind of question
> 
> 
> 
> 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?
> 
> Thanks.
> 
> -s
> 
> 
> _________________________________________________________________
> Get your FREE download of MSN Explorer at 
http://explorer.msn.com/intl.asp.


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

----------------------------------------------------------------------------
--------------------
The views and opinions expressed in this email message are the sender's
own, and do not necessarily represent the views and opinions of Summit
Systems Inc.


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to