[Bioperl-l] basic questions

L Xu ryanx07 at hotmail.com
Tue Jun 12 15:42:28 UTC 2007


I tested another code (the 2nd test on the same machine) from the tutorial 
and got error again. I don't know what happened and please help.
Thanks so much.

===========================================================Code:
use Bio::Restriction::EnzymeCollection;
my $all_collection = Bio::Restriction::EnzymeCollection;
my $six_cutter_collection = $all_collection->cutters(6);
for my $enz ($six_cutter_collection){
   print $enz->name,"\t",$enz->site,"\t",$enz->overhang_seq,"\n";
   # prints name, recognition site, overhang
}
=========================================== Results:

C:\~Scripts>perl t9.pl
Can't use string ("Bio::Restriction::EnzymeCollecti") as a HASH ref while 
"stric
t refs" in use at C:/Perl/site/lib/Bio/Restriction/EnzymeCollection.pm line 
236.


= = = Original message = = =

On Jun 11, 2007, at 11:45 AM, L Xu wrote:

   I used WinXP with BioPerl Inst_version 2.1.8 (Bioperl 1.5.2) and? 
activeperl 5.8.8.819 Thank you very much.

___________________________________________________________
Sent by ePrompter, the premier email notification software.
Free download at http://www.ePrompter.com.

_________________________________________________________________
Need a break? Find your escape route with Live Search Maps. 
http://maps.live.com/default.aspx?ss=Restaurants~Hotels~Amusement%20Park&cp=33.832922~-117.915659&style=r&lvl=13&tilt=-90&dir=0&alt=-1000&scene=1118863&encType=1&FORM=MGAC01




More information about the Bioperl-l mailing list