X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=bp_bin%2Funiq_vals;h=0bc6ce0aa8adcf017fe1742a07892e29b7e663f2;hb=5bd2ef552465d127a535351e51bf9a1f889e23b0;hp=93fd3be92fc3737e5e6a5dc119b1978a12109ce8;hpb=b607bb9d6e4adcebd9f9e128aacc91a212010ee0;p=biopieces.git diff --git a/bp_bin/uniq_vals b/bp_bin/uniq_vals index 93fd3be..0bc6ce0 100755 --- a/bp_bin/uniq_vals +++ b/bp_bin/uniq_vals @@ -1,4 +1,4 @@ -#!/usr/bin/env perl -w +#!/usr/bin/env perl # Copyright (C) 2007-2009 Martin A. Hansen. @@ -26,6 +26,7 @@ # >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>><<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< +use warnings; use strict; use Maasha::Biopieces; @@ -70,26 +71,22 @@ while ( $record = Maasha::Biopieces::get_record( $in ) ) } } +Maasha::Biopieces::close_stream( $in ); +Maasha::Biopieces::close_stream( $out ); + # >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>><<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< BEGIN { - $run_time_beg = Maasha::Biopieces::run_time(); - - Maasha::Biopieces::log_biopiece(); + Maasha::Biopieces::status_set(); } END { - Maasha::Biopieces::close_stream( $in ); - Maasha::Biopieces::close_stream( $out ); - - $run_time_end = Maasha::Biopieces::run_time(); - - Maasha::Biopieces::run_time_print( $run_time_beg, $run_time_end, $options ); + Maasha::Biopieces::status_log(); } @@ -97,4 +94,3 @@ END __END__ -