Ignore:
Timestamp:
2006-08-24T16:19:13+12:00 (18 years ago)
Author:
kjdon
Message:

changed parse2::parse so that it returns -1 on error, 0 on success, or if allow_extra_options is specified, then on success returns the number of args left over.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/perllib/classify/BasClas.pm

    r11681 r12546  
    263263
    264264    # general options available to all classifiers
    265     if(!parse2::parse($args,$hashArgOptLists->{"ArgList"},$self))
     265    if(parse2::parse($args,$hashArgOptLists->{"ArgList"},$self) == -1)
    266266    {
    267267    #print out the text usage of this classifier.
Note: See TracChangeset for help on using the changeset viewer.