Akopia Akopia Services

[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date ][Minivend by thread ]

Re: [mv] Bug in MV in Scan.pm



******    message to minivend-users from "Bill Randle" <billr@exgate.tek.com>     ******


Actually, it appears to me that _yes() *is* called with two arguments
in the places in Scan.pm that use it. E.g.:
	map { $_ = _yes('',$_) } @fields;
If you find an instance where that is not the case, then you've found a bug.
If you need a routine that takes a single argument, see is_yes() in Util.pm.

	-Bill Randle
	Tektronix, Inc.
	billr@exgate.tek.com

On Feb 9,  3:42pm, Alexander Lazic wrote:
} Subject: [mv] Bug in MV in Scan.pm
} ******    message to minivend-users from Alexander Lazic <all@gmx.at>
    ******
}
} Hi all,
}
} i think i have found a bug.
}
} in Vend/Scan.pm:"sub _yes"
}
} ORIG:  return( defined($_[1]) && ($_[1] =~ /^[yYtT1]/));
} OK:  return( defined($_[0]) && ($_[0] =~ /^[yYtT1]/));
}
} Because you give only one argument to this Routine.
}
} al ;-)
}
} --
} Sent through Global Message Exchange - http://www.gmx.net
}
} -
} To unsubscribe from the list, DO NOT REPLY to this message.  Instead, send
} email with 'UNSUBSCRIBE minivend-users' in the body to
Majordomo@minivend.com.
} Archive of past messages: http://www.minivend.com/minivend/minivend-list
}-- End of excerpt from Alexander Lazic


-
To unsubscribe from the list, DO NOT REPLY to this message.  Instead, send
email with 'UNSUBSCRIBE minivend-users' in the body to Majordomo@minivend.com.
Archive of past messages: http://www.minivend.com/minivend/minivend-list


Search for: Match: Format: Sort by: