Re: How to save input STDIN into a file

2007-08-06 Thread Chas Owens
On 8/6/07, Sydney <[EMAIL PROTECTED]> wrote: > The script working fine. but I like to save output of "$avar="$dir/ > $db" into a file. How do I do that? Thanks LC > > > print "which client\n"; > my $a = <>; > chomp $a; > my $db = <>; > chomp $db; > my $dir="/u1/data/$a"; > my $avar="$dir/$db"; > $

Re: How to save input STDIN into a file

2007-08-06 Thread Paul Lalli
On Aug 6, 2:16 am, [EMAIL PROTECTED] (Sydney) wrote: > The script working fine. but I like to save output of "$avar="$dir/ > $db" into a file. How do I do that? Thanks LC perldoc perlopentut perldoc -f open perldoc -f print Paul Lalli -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additiona

How to save input STDIN into a file

2007-08-06 Thread Sydney
The script working fine. but I like to save output of "$avar="$dir/ $db" into a file. How do I do that? Thanks LC print "which client\n"; my $a = <>; chomp $a; my $db = <>; chomp $db; my $dir="/u1/data/$a"; my $avar="$dir/$db"; $avar="$dir/$db"; print "$avar\n"; -- To unsubscribe, e-mail: [E