in reply to Some system command not working as required after File::Tee
sub pager { my $temp = "temp.txt"; my $pager = "less"; my $tty = "/dev/tty"; system("$pager $temp >$tty"); }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Some system command not working as required after File::Tee
by perlyogi (Acolyte) on Dec 14, 2010 at 10:28 UTC |