not knowing what "\*STDIN" represents
This may be more confusing than helpful. The short answer is that \*STDIN is the syntax required to pass a reference to the STDIN file handle to a subroutine (or object method).
Symbol tables in Perl are special hashes where the keys are the names of the symbols and the values are references to special data structures called typeglobs. A typeglob contains or has links to the state of all the variables with the given name. You may already know that you can have $var, @var and %var - three different variables all with the same name. There is one symbol table entry for all three of these: the key is 'var' and the value is a typeglob.
One of the types of values in a typeglob is a file handle. When you use something like $x = <STDIN>;, perl looks up 'STDIN' in the symbol table (a hash) and then uses the file handle of the referenced typeglob.
Since there is no 'sigil' (the '$', '@' and '%' in front of scalar, array and hash variable names are called sigils) for a file handle, so it is difficult to refer to one directly. One way to pass a file handle to a subroutine is to pass a reference to the entire typeglob that contains the file handle. \*STDIN is such a reference. The subroutine can use the reference to the typeglob to access the file handle.
You can read more about typeglobs in perldata and perlsub.
In reply to Re: MIME::Parser tries but fails to save files
by ig
in thread MIME::Parser tries but fails to save files
by Squiddy
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |