<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Thanks for your quick replay and advice. I have tried your method. But <span style="color:rgb(80,0,80)">it complains that</span><div class="HOEnZb">

<div class="h5">
<br>
------------------------------------<br>
[linhy@bioinfo1 Script]$ less try.fa | perl ./fastaLen.pl<br>
Name &quot;main::DATA&quot; used only once: possible typo at ./fastaLen.pl line<br>
42.<br>
Use of uninitialized value in print at ./fastaLen.pl line 49.<br>
------------------------------------<br></div></div></blockquote></div><div class="gmail_extra"><br></div><div class="gmail_extra">I don&#39;t think you mean to use the &quot;less&quot; command. Try one of these:</div><div class="gmail_extra">

<br></div><div class="gmail_extra">% cat try.fa | perl ./fastaLen.pl</div><div class="gmail_extra"><br></div>or</div><div class="gmail_extra"><br></div><div class="gmail_extra">% perl ./fastaLen.pl &lt; try.fa</div><div class="gmail_extra">

<br clear="all"><div><br></div>-- <br>--Torsten Seemann<br>--Victorian Bioinformatics Consortium, Dept. Microbiology, Monash University, AUSTRALIA<br>
</div></div>