From: Philip Mak Date: 2004-01-26T08:07:46+09:00 Subject: Regurgitating the contents of a file What's the shortest way to regurgitate the contents of a file? I mean like this: # Perl code open(FILE, "filename.txt"); print while ; close(FILE); Can I do something like: stdout << File.new("filename.txt"); or something?