Home: Perl Programming Help: Win32 Programming Help:
file versions



mikenac
Deleted

Jan 22, 2001, 12:47 PM


Views: 6541
file versions

How do I retrieve the version number of a file using perl? For example, I want to write a script that will list directory contents, recursively, and then retrieve and output to file the: filename, size, version, modified dates of all of the files.

I am just stumped by the version thing.



eskimo555
Deleted

Feb 28, 2001, 7:17 PM


Views: 6515
Re: file versions

@stats = stat $filename;

?
www.ArthurDerks.com



rjoseph
Novice

May 6, 2001, 4:31 PM


Views: 6494
Re: file versions

And if you want a good wrapper around the stat() function that is easier to use: File::stat

r j o s e p h
"Violence is a last resort of the incompetent" - Foundation