HI all,

I am doing an assignment. I am writing a script to access a file and print the first 
and last name of  workers whose hours worked exceeded 300hours. In the file, the last 
name is the first field and the first name is the second field. Both fields are 
separated by the "|" operator.

#!/usr/bin/perl

# use warnings;

#use strict;

unless ($worker_hour =~ i < 300) {

 print "@payroll [1][0];

}

Am I printing the output the right way or is there another way?

Thanks

 



---------------------------------
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, and more

Reply via email to