in reply to variable in perl
$$ is a prototype, described in perldoc perlsub.
ref is described in perldoc -f ref, and is used here to find out if $logtext is a scalar or a reference to an array.
@$ dereferences the array reference (thus treating it as a regular array).
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: variable in perl
by sveera (Initiate) on Jun 17, 2005 at 18:02 UTC |