First fix ur line breaks! At 10:02 AM 1/15/2006 +0200, eyal edri wrote: } >if ( $missingPatch =~ m/yes/ ) --- > this is where the error occurs. >(i've tried also $missingPatch eq 1) or '1' or "1" ... . > { ...... } > >I can't understand why perl shouts about this, since this var has been >initialized. >(also tried removing use strict) > >thanks, > >Eyal Edri | System &
Put in a line to print the current value of $missingPatch just before this stage so that u can see what Perl is going to compare. Also, before the print, check for definedness e.g. defined $missingPatch ? print "\$missingPatch is defined" : print "\$missingPatch is NOT defined"; -- REMEMBER THE WORLD TRADE CENTER ---=< WTC 911 >=-- "...ne cede malis" 00000100 _______________________________________________ Perl-Win32-Users mailing list Perl-Win32-Users@listserv.ActiveState.com To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs