P
Philip Mak
What's the shortest way to regurgitate the contents of a file? I mean
like this:
# Perl code
open(FILE, "filename.txt");
print while <FILE>;
close(FILE);
Can I do something like:
stdout << File.new("filename.txt");
or something?
like this:
# Perl code
open(FILE, "filename.txt");
print while <FILE>;
close(FILE);
Can I do something like:
stdout << File.new("filename.txt");
or something?