Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re^3: Deleting a columnheader

by choroba (Chancellor)
on Oct 07, 2011 at 16:55 UTC ( #930217=note: print w/ replies, xml ) Need Help??


in reply to Re^2: Deleting a columnheader
in thread Deleting a columnheader

You were almost there. Just join the array back. And note that map{$_}(0..4) is just the same as 0..4 itself, so you can write:
print {$FILE4} join("\t", (split /\t/, <$FILE1>)[0 .. 4]),"\n";
Comment on Re^3: Deleting a columnheader
Select or Download Code
Replies are listed 'Best First'.
Re^4: Deleting a columnheader
by bluray (Sexton) on Oct 07, 2011 at 17:16 UTC
    Thanks Choroba, It is perfect now.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://930217]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (9)
As of 2016-04-29 20:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    :nehw tseb si esrever ni gnitirW







    Results (441 votes). Check out past polls.