[Bioperl-guts-l] bioperl-live/Bio/Root Utilities.pm,1.41,1.42

Senduran Balasubramaniam sendu at dev.open-bio.org
Mon Jun 25 08:07:00 EDT 2007


Update of /home/repository/bioperl/bioperl-live/Bio/Root
In directory dev.open-bio.org:/tmp/cvs-serv12618/Bio/Root

Modified Files:
	Utilities.pm 
Log Message:
solved uninitialized value in -x

Index: Utilities.pm
===================================================================
RCS file: /home/repository/bioperl/bioperl-live/Bio/Root/Utilities.pm,v
retrieving revision 1.41
retrieving revision 1.42
diff -C2 -d -r1.41 -r1.42
*** Utilities.pm	14 Jun 2007 14:16:13 -0000	1.41
--- Utilities.pm	25 Jun 2007 12:06:57 -0000	1.42
***************
*** 420,423 ****
--- 420,424 ----
  
      my @checked = @util_to_use;
+     $exe ||= '';
      while (not -x $exe and scalar(@util_to_use)) {
          $exe = $self->find_exe(shift @util_to_use);
***************
*** 536,539 ****
--- 537,541 ----
      }
  
+     $exe ||= '';
      while (not -x $exe and scalar(@util_to_use)) {
          $exe = $self->find_exe(shift @util_to_use);



More information about the Bioperl-guts-l mailing list