Huh? Are you asking if there are methods like ls([ DIR ]) and dir([ DIR]) (both found in the documentation for Net::FTP). Or are you asking if there is a method that specifically gets the "latest" file? If the latter option, the question "what do you mean by latest?" comes to mind. Assuming you mean file that was most recently changed, you can use mdtm( FILE ) to find the modification time for the file in question.
That being said, care to elaborate? Will regular Perl file checks not work?
And you didn't even know bears could type.
-
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.
|