$tura is declared within subroutine tura you need to return the value rather than print it. See also perlsub and Coping with Scoping.
In reply to Re: variable access
by marto
in thread variable access
by aioan1
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |