Ignore:
Timestamp:
2001-02-13T10:58:26+13:00 (23 years ago)
Author:
jmt14
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/perllib/parsargv.pm

    r1240 r1954  
    7373
    7474    my @rest = @_;
     75
    7576
    7677    # if the last argument is the string "allow_extra_options" then options
     
    9293    while (($spec, $var) = splice(@rest, 0, 2))
    9394        {
     95     
    9496    die "Variable for $spec is not a valid type."
    9597        unless ref($var) eq 'SCALAR' || ref($var) eq 'ARRAY';
     
    107109    my ($name, $regex, $default) = split(/$delimiter/, $spec, 3);
    108110   
     111   
    109112    if ($name)
    110     {
     113    {   
    111114        if ($default && $default !~ /$regex/)
    112115        {
     
    225228
    2262291;
     230
     231
     232
     233
     234
     235
     236
     237
Note: See TracChangeset for help on using the changeset viewer.