From perldoc -f stat: If "stat" is passed the special filehandle consisting of an underline, no stat is done, but the current contents of the stat structure from the last "stat", "lstat", or filetest are returned. Example: if (-x $file && (($d) = stat(_)) && $d < 0) { print "$file is executable NFS file\n"; } (This works on machines only for which the device number is negative under NFS.)
We are looking for openstack and python developers. Please check: http://www.nsbeta.info/jobs Wed, 19 Mar 2014 01:44:15 -0400 from shawn wilson <ag4ve...@gmail.com>: >On Tue, Mar 18, 2014 at 11:32 PM, John W. Krahn < jwkr...@shaw.ca > wrote: >> Shaji Kalidasan wrote: > >> >> or stat() or lstat() > >I don't remember seeing that reusing i?stat would not duplicate the >stat call...? > >-- >To unsubscribe, e-mail: beginners-unsubscr...@perl.org >For additional commands, e-mail: beginners-h...@perl.org >http://learn.perl.org/ > >