Write perl code to find the number of lines in a file
Anonymous
#!/usr/bin/perl my $file = @argv[0]; if ( $ARGV > 0 ) { die "Usage: Lines.pl filename \n" }; my $lines = `wc -l $file`; print "$file has $lines lines \n"; lol
Check out your Company Bowl for anonymous work chats.