If it doesn't work when you uncomment line 5 then perhaps $incomingdata doesn't have the value you think it does. You could use Data::Dumper to dump the value of $incomingdata. You will then have to change the calling routine to pass data that is compatible with your subroutine or change your subroutine to handle the data that is passed.
In reply to Re: WHAT IS WRONG TO PASS PARAMETER TO THE ARRAY?
by ig
in thread WHAT IS WRONG TO PASS PARAMETER TO THE ARRAY?
by courierb
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |