home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
perl_ste.zip
/
auto
/
Net
/
FTP
/
mdtm.al
< prev
next >
Wrap
Text File
|
1997-11-28
|
300b
|
15 lines
# NOTE: Derived from ./blib/lib/Net/FTP.pm. Changes made here will be lost.
package Net::FTP;
sub mdtm
{
my $ftp = shift;
my $file = shift;
$ftp->_MDTM($file) && $ftp->message =~ /(\d{4})(\d\d)(\d\d)(\d\d)(\d\d)(\d\d)/
? timegm($6,$5,$4,$3,$2-1,$1 - 1900)
: undef;
}
1;