You posted code where you test an array with ref, it doesn't do what you think it does (it does nothing)
its the equivalent of if( not ref "shamalama" eq "dingdong" ){ ... }
its equivalent to if(1){ ... }
clear now?
In reply to Re^7: Creating 'new' subroutine.
by Anonymous Monk
in thread Creating 'new' subroutine.
by nitin.sh1982
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |