in reply to Re: Persistent Variable
in thread Persistent Variable
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";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Persistent Variable
by Fastolfe (Vicar) on Jan 15, 2001 at 23:17 UTC |