[prev in list] [next in list] [prev in thread] [next in thread] 

List:       mason
Subject:    [Mason] Apache session config
From:       Pierre Vaudrey <pierre.vaudrey () wanadoo ! fr>
Date:       2002-08-27 21:43:53
[Download RAW message or body]

I'm trying to run the following example , but I guess I need to 
configure something after downloading Apache::Session.
I will appreciate some help !

System error
error: 	Error during compilation of 
/Library/WebServer/Documents/others/stock.html:
Global symbol "%session" requires explicit package name at 
/Library/WebServer/Documents/others/stock.html line 35. Global symbol 
"%session" requires explicit package name at 
/Library/WebServer/Documents/others/stock.html line 38.
context: 	
... 
31: 	<& footer &>
32: 
33: 	<%init>
34: 	# Initialize session if necessary
35: 	$session{symbols} ||= [];
36: 	
37: 	# Get array of symbols
38: 	my @symbols = @{$session{symbols}};
39: 	
40: 	# Get the stock price for each symbol
41: 	my %price;
42: 	foreach my $symbol (@symbols) {
... 
code stack: 	/Library/Perl/HTML/Mason/Interp.pm:588
/Library/Perl/HTML/Mason/Interp.pm:269
/Library/Perl/HTML/Mason/Request.pm:174
/Library/Perl/HTML/Mason/Request.pm:138
/Library/Perl/HTML/Mason/ApacheHandler.pm:57
/Library/Perl/Class/Container.pm:194
/Library/Perl/Class/Container.pm:257
/Library/Perl/HTML/Mason/Interp.pm:168
/Library/Perl/HTML/Mason/ApacheHandler.pm:800
/Library/Perl/HTML/Mason/ApacheHandler.pm:736
(eval 69):5
/dev/null:58

Pierre Vaudrey
email pierre.vaudrey@wanadoo.fr



-------------------------------------------------------
This sf.net email is sponsored by: Jabber - The world's fastest growing
real-time communications platform! Don't just IM. Build it in!
http://www.jabber.com/osdn/xim
_______________________________________________
Mason-users mailing list
Mason-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mason-users
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic