]> git.donarmstrong.com Git - biopieces.git/blobdiff - bp_bin/bioscript
refactoring of assemble_pairs
[biopieces.git] / bp_bin / bioscript
index efc8b9350562f8bbfefe154b89506dee78c59e38..f2e4cbdc29801aa1fe884b000f1ea6622c433fe6 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env perl -w
+#!/usr/bin/env perl
 
 # Copyright (C) 2007-2009 Martin A. Hansen.
 
 # >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>><<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
 
 
+use warnings;
 use strict;
 use Maasha::Biopieces qw( get_record put_record );
+use Data::Dumper;
 use Maasha::Common;
 
 
@@ -47,10 +49,11 @@ $out = Maasha::Biopieces::write_stream( $options->{ "stream_out" } );
 
 print STDERR "eval: $options->{ 'eval' }\n" if $options->{ 'verbose' };
 
-eval "$options->{ 'eval' }";
+eval "no strict; $options->{ 'eval' }";
 
 Maasha::Common::error( qq(Eval of "$options->{ 'eval' }" failed) ) if $@;
 
+
 Maasha::Biopieces::close_stream( $in );
 Maasha::Biopieces::close_stream( $out );