S
solutions
Hi,
I was wondering if anyone knows how to pass the contents of an entire
file to a variable IN A SINGLE LINE/COMMAND? It's trivial to do with a
few lines, but I am wondering if there is a more clever way to do this.
my $file_text = some_command( filehandle ) ???
Thanks,
David
I was wondering if anyone knows how to pass the contents of an entire
file to a variable IN A SINGLE LINE/COMMAND? It's trivial to do with a
few lines, but I am wondering if there is a more clever way to do this.
my $file_text = some_command( filehandle ) ???
Thanks,
David