X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=bp_bin%2Flist_biopieces;h=1223bd6cb134acfadfb1e48851c48bc873ba35d5;hb=6c1d90a31caa1fe54bedc965ba26940688a31ab0;hp=b00e5af1b7c4d9e8466370fa1c33f3f0613263b9;hpb=9854397f83abe8d5a8c614b799ef3107d3f85f80;p=biopieces.git diff --git a/bp_bin/list_biopieces b/bp_bin/list_biopieces index b00e5af..1223bd6 100755 --- a/bp_bin/list_biopieces +++ b/bp_bin/list_biopieces @@ -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::Common; use Maasha::Biopieces; @@ -35,7 +36,7 @@ use Maasha::Gwiki; # >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>><<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< -my ( $run_time_beg, $run_time_end, $options, @files, $file, $wiki, $program, $summary ); +my ( $options, @files, $file, $wiki, $program, $summary ); $options = Maasha::Biopieces::parse_options(); @@ -43,7 +44,7 @@ $options = Maasha::Biopieces::parse_options(); foreach $file ( sort @files ) { - if ( $file =~ /\/([a-z0-9_]+)\.wiki$/ ) + if ( $file =~ /\/([BGa-z0-9_]+)\.wiki$/ ) { $program = $1; @@ -62,16 +63,13 @@ foreach $file ( sort @files ) BEGIN { - $run_time_beg = Maasha::Biopieces::run_time(); - - Maasha::Biopieces::log_biopiece(); + Maasha::Biopieces::status_set(); } + END { - $run_time_end = Maasha::Biopieces::run_time(); - - Maasha::Biopieces::run_time_print( $run_time_beg, $run_time_end, $options ); + Maasha::Biopieces::status_log(); } @@ -79,5 +77,3 @@ END __END__ - -