Changeset 4079 in genesis for tools


Ignore:
Timestamp:
Mar 16, 2005, 4:17:04 PM (20 years ago)
Author:
rick
Message:

Debug fix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tools/wleiden.pl

    r4078 r4079  
    324324};
    325325
    326 if( exists $ARGV[1] ) {
    327   parse_config($ARGV[0]);
    328   print do_it($ARGV[1]);
    329 }
    330 else {
    331   print "Usage `perl wleiden.pl 'inputfile' 'outputfile'`\n";
    332   print "While calling from perl script use:\n";
    333   print "parse_config('inputfile')\n";
    334   print "do_it('outputfile')\n";
    335 };
    336 
    337 exit 0;
     326if( $debug ) {
     327  if( exists $ARGV[1] ) {
     328    parse_config($ARGV[0]);
     329    print do_it($ARGV[1]);
     330  }
     331  else {
     332    print "Usage `perl wleiden.pl 'inputfile' 'outputfile'`\n";
     333  };
     334};
Note: See TracChangeset for help on using the changeset viewer.