would this print out 1234 or can you not assign variables inside packages like this? Thanks.package Common; my $session; #main program $comm=new Common; $comm->session="1234"; $temp=$comm->session; print "$temp";
In reply to Re: Re: Persistent Variable
by Anonymous Monk
in thread Persistent Variable
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |