Your name here (please print):
Your student ID number here:
#!/usr/bin/perl
open(IN,"PerlLab1.txt");
while(){
     
print $_;
}
close(IN);
#!/usr/bin/perl
open(IN,"PerlLab1.txt");
while(){
     
if( $_ =~ /print me/ ){
     
     
print $_;
     
}
}
close(IN);
#!/usr/bin/perl
open(IN,"PerlLab1.txt");
while(){
     
if( $_ =~ /print me/ ){
     
     
if( $_ !~ /no print/ ){
     
     
     
print $_;
     
     
}
     
}
}
close(IN);
This
is
it!
#!/usr/bin/perl
foreach $value (@ARGV){
     
print "$value\n";
}
#!/usr/bin/perl
open(IN,PerlLab2.txt);
while(){
     
chomp;
     
my @arr = split(/\s+/,$_);
     
print $arr[0] + $arr[1] + $arr[2], "\n";
}
close(IN);