Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: Running an external command

by icoder (Novice)
on Apr 26, 2012 at 08:19 UTC ( #967261=note: print w/ replies, xml ) Need Help??


in reply to Running an external command

As all suggested,Read the file and put that contents into buffer

open FILE,"< generatedFile.txt" or die "cant able to read file

or

@output = `/home/.../samtools view...` @fileout = `cat file.txt 2>&1`;

This works only in unix


Comment on Re: Running an external command
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (13)
As of 2015-07-31 09:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (276 votes), past polls