i want above output in other file without using file handler ..i think it is system command or anythink else help appreciatedmy $a="/var/lib/processed/parkings-stats2/dailystat_$curtime"; print $a;exit; while(my $row=$sth->fetchrow_hashref) { my $eunq= $row->{eunq}; my $eclk=$row->{eclk}; my $domain_id=$row->{domain_id}; my $ts = $row->{ts}; my $id = $row->{id}; my $ervn = $row->{ervn}; my $account_id=$row->{account_id}; #print "$eunq==$domain_id\n"; #open(FH ,">$a"); #print FH "$account_id"; #close(FH); print "$eunq\t$eclk\t$domain_id\t$ts\t$id\t$ervn\t$account_id\n";
In reply to how to redirect to other file using system command or anything not by file handler by swapy345
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |