[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [MacPerl] Subroutines



[SNIP]
>Sample snippet from code:
>-----
>if ($UserPassword eq $Data[1]) {
>  print "Password accepted.\n";
>  MainMenu
>  } else {
[SNIP]


Try :
if ($UserPassword eq $Data[1]) {
  print "Password accepted.\n";
  &MainMenu;
# ^________^  4&4 may not be neccesary, but the 4;4 is.
} else {



# Disclaimer :
        I do mostly UNIX perl4.036 so I may be way out on this one.









--
Party? Party, lord? Yes, lord. Right away, lord.
        - Beopunk Cyberwulf