Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
What is @$ doing in front of sets? I keep thinking that it is some kind of hash, but it is probably wrong.my ($sets) = IO::Select->select($socket_set, undef, undef, 0); ... foreach (@$sets) { $buf = <$_>; if($buf) { if($buf =~ "^VIEWLOG") { ...
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: @$ variable type
by toolic (Bishop) on Jan 12, 2012 at 20:31 UTC | |
by Anonymous Monk on Jan 12, 2012 at 20:52 UTC | |
by eyepopslikeamosquito (Archbishop) on Jan 12, 2012 at 21:23 UTC | |
|
Re: @$ variable type
by luis.roca (Deacon) on Jan 12, 2012 at 22:41 UTC |