sub readFile { my $filename = shift; my $fh = new FileHandle("<" . $filename); local $/ = undef; # slurp mode my $data = <$fh>; $fh->close; return $data; }
In reply to Re: How should I store/retrieve my data
by tall_man
in thread How should I store/retrieve my data
by Limbic~Region
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |