I am getting a warning of and earliear declartion . I am tryin to avoide using if statment. Can someone advice ? thanksmy @xxx = (one, two, three) if ( $op eq "numbers" ); my @xxx = (four, five) if ( $op eq "alpha" ); my @xxx = (six, ten) if ( $op eq "alp" );
In reply to declaring same variable by samy1212
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |