Hi, On Sat, 03 Jan 2009, Roger Leigh wrote: > Rather than returning an error if the version being checked is > invalid, check_version calls Dpkg::ErrorHandling::error which > kills perl by calling die. > > It would be nice to have a function which just returned true/false. > If dieing is the correct course of action, an additional > function which called check_version and then died on failure would > keep the existing functionality.
I simply added a second parameter to control whether is should error out or not. Will be fixed in 1.15.1. Cheers, -- Raphaël Hertzog Contribuez à Debian et gagnez un cahier de l'admin Debian Lenny : http://www.ouaza.com/wp/2009/03/02/contribuer-a-debian-gagner-un-livre/ -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

