|
|
| Perl: the Markov chain saw | |
| PerlMonks |
Re: Re: subtract one array from anotherby antifun (Sexton) |
| on Oct 17, 2002 at 13:49 UTC ( #206022=note: print w/ replies, xml ) | Need Help?? |
|
The $#array syntax is vaguely deprecated, IIRC... But since the .. operator takes scalar context, you can just say
(Update: the "vague deprecation" was from one of the Apocalypses. So it's safe for the indefinite future, I suppose. cf. Apocalypse 2) --- "I hate it when I think myself into a corner." Matt Mitchell
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||