Subject: | method read_file() not closing file handle |
Hi Kevin,
I found the method read_file() not closing the file handler after slurping the contents of CSS file.
open FILE, "<", $$params{filename} or croak $!;
my $css = do { local( $/ ) ; <FILE> } ;
should actually be:
open FILE, "<", $$params{filename} or croak $!;
my $css = do { local( $/ ) ; <FILE> } ;
close FILE;
Best Regards,
Mohammad S Anwar