#!/usr/bin/perl -w
use strict;
use Bio::TreeIO;
my $usage = "script.pl INFILE OUTFILE\n";
my $infile = {FNAMEL}.html">shift or {FNAMEL}.html">die $usage;
my $outfile = {FNAMEL}.html">shift or {FNAMEL}.html">die $usage;

my ($filein,$fileout) = @ARGV;
my ($format,$oformat) = {FNAMEL}.html">qw(nexus newick);
    my $in = Bio::TreeIO-&gt;new(-file =&gt; $infile, -{FNAMEL}.html">format =&gt; $format);
my $out= Bio::TreeIO-&gt;new(-{FNAMEL}.html">format =&gt; $oformat, -file =&gt; ">$outfile");
     
    while( my $t = $in-&gt;next_tree ) {
      $out-&gt;write_tree($t);
    }






