>
>Read about how Perl passes parameters :-)
>
>You shift the value of your parameter into $bb, now you modifiy $bb, but $bb
>is a variable of it's own, it has nothing to do with the parameter you pass.
>Reread my example and write your sub like this:
>
>[$ sub TTEST $]
>    [- $aa = 3;  -]
>    <p>$aa is [+$aa+]
>    [- $_[0] = $aa; -]
>[$ endsub $]
>
>
>
>Gerald


It works, but I never thought i can use this way to pass parameter. Indeed
i never read this in "Programming Perl" book. Perhaps it is at some where
it the book....

Anyway, thank you.
Albert

Reply via email to