# Some shared sub routines
#
# Author: Patrick Canterino <patrick@patshaping.de>
-# Last modified: 2005-11-10
+# Last modified: 2008-04-25
#
use strict;
{
my ($pattern,$string) = @_;
+ return 1 if($pattern eq '*');
+
# The following part is stolen from File::DosGlob
# escape regex metachars but not glob chars