blaui has asked for the wisdom of the Perl Monks concerning the following question:
Hello!
I put data to a hash, but then I want to get it out as kind of array/list;
wallshearstress.txt wallshearstress_l.txt wallshearstress_u.txt wallheatflux.txt wallheatflux_l.txt wallheatflux_u.txt
I put data to a hash, but then I want to get it out as kind of array/list;
The first print gives, what I expected:push @{$csvheader{$pre}}, $tmp; print "@{$csvheader{'x_'}}\n"; $tmp = "paste -d';' ". @{$csvheader{'x_'}} ." > all.x.txt"; print "$tmp\n"; system($tmp);
wallshearstress.txt wallshearstress_l.txt wallshearstress_u.txt wallheatflux.txt wallheatflux_l.txt wallheatflux_u.txt
But the second print gives:
paste -d';' 6 > all.x.txt
How I have to modify, that the second print gives:
paste -d';' wallshearstress.txt wallshearstress_l.txt wallshearstress_u.txt wallheatflux.txt wallheatflux_l.txt wallheatflux_u.txt > all.x.txt
Regards, Blaui
Back to
Seekers of Perl Wisdom