sbeam has asked for the wisdom of the Perl Monks concerning the following question:
as you can see I am trying to use $! to get my qx// to flush rsync's output so I can see it scroll happily by. But it has no effect (of course). So is there any way to turn off the pesky buffering?$| = 1; my $rsync_cmd = "rsync -vza --delete --delete-excluded $exclude_opts $ +conf{dir_backup_from} $mountpoint_reversed_enc"; print qx/$rsync_cmd/;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: backticks buffering, tally me banana
by ikegami (Patriarch) on Aug 27, 2008 at 03:57 UTC | |
|
Re: backticks buffering, tally me banana
by hangon (Deacon) on Aug 27, 2008 at 21:36 UTC |