On 11/09/2013 23:04, Harry Putnam wrote:
Posted below is a shortened down version of a larger script that tries
to show the phenomena I'm seeing and don't understand.
open my $fh, '>>', $log or die "Can't open <$log>: $!";
print " $dtf START $rsync $shortargs\n $longargs\n $src/ $dst/\n
On Wed, Sep 11, 2013 at 5:04 PM, Harry Putnam wrote:
> while(<$cmdh>) {
> print $fh;
> print;
>
I believe this code prints the file handle. Try this:
while(<$cmdh>){
print $fh $_;
print;
--
Robert Wohlfarth
Harry Putnam writes:
Jesus... who wrote this illiterate crud?
> Harry Putnam writes:
>
> Sorry to have dropped out on this. I called away and now have other
^
got
> scripting to get done.
>
> But didn't want anyone to
Posted below is a shortened down version of a larger script that tries
to show the phenomena I'm seeing and don't understand.
I'm running rsync from a perl script so I first thought the output
was from rsync, but as I tinkered around I began to notice that as I
changed things around a bit, the lin
Robert Wohlfarth writes:
> On Wed, Sep 11, 2013 at 5:04 PM, Harry Putnam wrote:
>
>
>> while(<$cmdh>) {
>> print $fh;
>> print;
>>
>
>
> I believe this code prints the file handle. Try this:
> while(<$cmdh>){
> print $fh $_;
> print;
Egad! Yes, that is what's happening... thanks.
--
Harry Putnam writes:
Sorry to have dropped out on this. I called away and now have other
scripting to get done.
But didn't want anyone to think I didn't appreciate the replies.
The walk thru of my (poor) could is very helpful...
Thanks
--
To unsubscribe, e-mail: beginners-unsubscr...@perl