Using defined doesn't make sense here
Why not?
@used = 1; say defined @used ? '1' : '0'; 1 say defined @neverUsed ? '1' : '0';; 0
In reply to Re^2: Conditional array initialisation?
by BrowserUk
in thread Conditional array initialisation?
by BrowserUk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |