Question: Detect the errors in the following program (line numbers on left): 1 # foo.pl -- Checking file system block size 2 #/usr/bin/perl 3 print Enter
Detect the errors in the following program (line numbers on left): 1 # foo.pl -- Checking file system block size 2 #/usr/bin/perl 3 print Enter the block size of your file system: 4 bs = ; 5 chop ($bs) ; 6 if ( $bs > 8192 ) 7 print Lot of wasted space /n ; 8 } else { 9 print Reasonable size ; 10 }
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
