Re: perlfaq7: How do I skip some return values?
[email protected] ("Sean M. Burke")
| Newsgroups | perl.documentation,perl.cvs.perlfaq |
|---|---|
| Message-ID | <[email protected]> |
At 23:41 2002-06-16 -0500, _brian_d_foy wrote: >for your comments >+You can also use a list slice to select only the elements that >+you need: >+ >+ ($dev, $ino, $uid, $gid) = ( stat($file) )[0,1,4,5]; Excellent! -- Sean M. Burke http://www.spinn.net/~sburke/