I don't have access to a windows box at the moment, but I'd probably just try it out and see what I get. File::stat claims to just be a by-name interface to the normal stat call, so I'd see what the following gives me:
perl -e 'use Data::Dumper; print Dumper(stat("file.txt"));'
The Win32::File docs do mention that it exports a list of constants that look like attributes to me, (and which aren't part of the usual stat info) so again I'd probably just try it out and call Dumper on the result.
Xaositect - Whitepages.com
-
Are you posting in the right place? Check out Where do I post X? to know for sure.
-
Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
<code> <a> <b> <big>
<blockquote> <br /> <dd>
<dl> <dt> <em> <font>
<h1> <h2> <h3> <h4>
<h5> <h6> <hr /> <i>
<li> <nbsp> <ol> <p>
<small> <strike> <strong>
<sub> <sup> <table>
<td> <th> <tr> <tt>
<u> <ul>
-
Snippets of code should be wrapped in
<code> tags not
<pre> tags. In fact, <pre>
tags should generally be avoided. If they must
be used, extreme care should be
taken to ensure that their contents do not
have long lines (<70 chars), in order to prevent
horizontal scrolling (and possible janitor
intervention).
-
Want more info? How to link
or How to display code and escape characters
are good places to start.
|