[Bioperl-l] EMBOSSApplication warnings?

Heikki Lehvaslaiho heikki at ebi.ac.uk
Mon Feb 3 17:21:18 EST 2003


On Mon, 2003-02-03 at 16:17, Wiepert, Mathieu wrote:
> Hi,
> 
> I was running an emboss program through bioperl, but keep getting a warning.  I know why, but not sure what to do about it?  The problem is that I keep getting the error 
> 
> 'Odd number of elements in hash assignment at embosstest.pl line 97.'
> 
> I have an odd number of elements, but they are correct.  The error doesn't cause the program to die, so it is just the annoyance of receiving the errors, nothing else.
> 
> I found a thread on this for the qual.pm object, and the solution was to not use a hash, but an array, for args.  I am trying to see if that is similar to this.
> 
> Is there anything I should do about this, besides not running with the -w switch?
> 
> -Mat

Rather than using -w, it better to use 'use warnings'/'no warnings'
pragma with which you can turn off annoying warnings. See 
'man perllexwarn' for details.

	-Heikki



> 
> _______________________________________________
> Bioperl-l mailing list
> Bioperl-l at bioperl.org
> http://bioperl.org/mailman/listinfo/bioperl-l
-- 
______ _/      _/_____________________________________________________
      _/      _/                      http://www.ebi.ac.uk/mutations/
     _/  _/  _/  Heikki Lehvaslaiho          heikki at ebi.ac.uk
    _/_/_/_/_/  EMBL Outstation, European Bioinformatics Institute
   _/  _/  _/  Wellcome Trust Genome Campus, Hinxton
  _/  _/  _/  Cambs. CB10 1SD, United Kingdom
     _/      Phone: +44 (0)1223 494 644   FAX: +44 (0)1223 494 468
___ _/_/_/_/_/________________________________________________________



More information about the Bioperl-l mailing list