Brady Jacksan wrote: > > HI all, Hello,
> 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? Does it look right when you print it? John -- use Perl; program fulfillment -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]