the first method, I'm having some trouble with your second, some undeclared varibles...
Its a missing ")"
one pair for if() and another for Dive()
In reply to Re^5: Error "Can't use an undefined value as a HASH reference" while working with generated objects
by Anonymous Monk
in thread Error "Can't use an undefined value as a HASH reference" while working with generated objects
by HJO
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |