Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
sub printReport {
my ($handle,$arraySize,@array) = @_;
....
}
#!perl
use strict;
use warnings;
my $HANDLE;
open($HANDLE, ">erdman.txt") || die qq(Can't open "erdman.txt"!\n);
my @array = qw(apples oranges peaches pears grapes);
printReport($HANDLE, @array);
close($HANDLE) || die qq(Can't close "erdman.txt"!\n);
[b]sub printReport {
my ($HANDLE, @array) = @_;
for (my $i=0;$i<@array;$i++){
print ($HANDLE "$array[$i]\n");[/b]
}#end for
}#end sub printReport
open (LOG1,">",$logfile1);
open (LOG2,">",$logfile2);
@logfh = (*LOG1, *LOG2);
print $_ "hello" for @logfh;
{
open (my $fh,">",$file);
print $fh "hello";
}