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.
open(FILE, "<file");
@data = <FILE>;
close FILE;
print scalar(@data);
# or
print $#data+1;
$num_lines = `wc -l $file_name`;