Artifact c0885083436bbac51ded37cb347dc1c194d20fe2:
- File tests/langbench/cat.pl — part of check-in [69b737f5a1] at 2016-04-19 20:35:49 on branch little — Fork of Tcl used in the "Little" project. http://www.mcvoy.com/lm/little/index.html (user: dgp, size: 238) [annotate] [blame] [check-ins using]
# One could argue this should be # while ($foo = <>) { chomp($foo); print $foo . "\n"; } # to match what tcl does. # That slows it down by a factor of 2. foreach $file (@ARGV) { open(FD, $file); while ($buf = <FD>) { print $buf; } }