in reply to Re:{3} Eval and $@% ...
in thread Eval and $@% ...
Only when used as a filehandle. For a variable name there is a scalar ($), a list (@), a hash (%), a filehanlde, and a format. Instead of saying:
you can just say:$foo=$bar; @foo=@bar; %foo=%bar;
So, when you dereference a type glob, you don't add the <foo> unless you are reading from a file handle.*foo = *bar;
The 15 year old, freshman programmer,
Stephen Rawls
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Eval and $@% ...
by Abigail (Deacon) on Jun 19, 2001 at 09:56 UTC |