First, let's distinguish "warning" and "error". Errors stop execution of
the app or script, what you're seeing is a warning, your script actually
completes. Does the warning vanish if you remove "-w"?
Second, seems like this is a Perl version thing:
On Jan 4, 2013, at 1:55 PM, "Thornton, Matthew"
> I am working through the first part of the BioPerl beginners howto and I
am getting an error and I was wondering if you could tell me what is wrong.
> I made the seqio.pl script:
> #!/bin/perl -w
> use Bio::Seq;
> $seq_obj = Bio::Seq->new(-seq => "aaaatgggggggggggccccgtt",
> -display_id => "#12345",
> -desc => "example 1",
> -alphabet => "dna" );
> print $seq_obj->seq();
> I execute the script and I get this error:
> gserver@gserver:~/bio$ perl seqio.pl
> Replacement list is longer than search list at
/usr/local/share/perl/5.14.2/Bio/Range.pm line 251.
> Is there something wrong with my installation?
> Any help is greatly appreciated.
> Matthew E. Thornton
> Laboratory Technician III
> Broad Center for Stem Cell and Regenerative Medicine
> University of Southern California
> 1501 San Pablo St. ZNI
> Los Angeles, CA 90089-2821
Brian Osborne, PhD