File: stdio.pl

package info (click to toggle)
libio-all-perl 0.87-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 712 kB
  • sloc: perl: 2,017; makefile: 5
file content (6 lines) | stat: -rw-r--r-- 125 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
use IO::All;

my $stdin = io('-');
my $stdout = io('-');
$stdout->buffer($stdin->buffer);
$stdout->write while $stdin->read;