I am new to perl and need help. How do you write a script to add the sum and find out the average and print out the five largest number in the array.
here is my array and here my script can some tell me what am i doing wrong thanks:
#to get the total
@a = ( 10 .. 16 );
$total = 0;
for ( $i...
I am try to run the at command here is my command line and it don't seem to work. At 20:00 /interactive /every:m,t,w,th,f "E:\OHreplicate\OHReplicate.exeAUTO"
Can some tell what am I doing wrong and finally how would you delet the job schedule once you no longer needed.
thank you
I am new to Window NT server. What I am trying to do is schedul a program to run everynight at 8:00 o'clock. Is a way to do it. Please give a step by step advice.
Thank you
How do you write a script that looks through the /etc/passwd
file for two or more users with the same first name and prints those names. Here is what I have so far and it don't seem to work.Can some tell me what I am doing wrong here thanks.
my $f = '/etc/password';
open(F,$f) || die...
How do you write a perl script that accept a directory name as a command line argument and then looks at all of the files in that directory to fined the oldest file. Print out the name of the file and the age of that file in days. If no directory name is listed on the command line perform the...
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.