use strict; open FILE, "; shift @lines; pop @lines; # @lines now contains the file contents without the first and last lines. #### $line=~s/^#//; #### $line=~s/^(.)/#$1/;
## $line=~s/^#//; ##
## $line=~s/^(.)/#$1/;