I'll give a few tips about perl...
-First, Perl is a scripting language. You won't ever need to compile it.
-Second, If the script is on a web server (being hosted by some one else) you'll have to see if they have perl set up to allow you to use it. (Some web hosting packages don't allow the...
You could possibly pipe the information
into a text file, then read it...
(That's how I would do it, since I don't know of a
way to directly access the information from the standard
output...)
Not sure that this was of much help,
but I wish you luck!
the @ARGV variablecontains any perameters passed
to a function...
printVars(var1, var2, var3, ...);
or
Command Line: printvars.pl var1 var2 var3
sub printVars
{
var1 = $ARGV[0];
var2 = $ARGV[1];
# Etc...
Have Fun!
Thomas Smith
Use the stat function
The modified time is the 10th element (index 9).
@MyArray = stat($somefile);
$ModTime = localtime(@MyArray[9]);
print $ModTime;
Have fun!
Thomas Smith
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.