You are viewing a plain text version of this content. The canonical link for it is here.
Posted to asp@perl.apache.org by sangeethvs <sa...@masconit.com> on 2005/05/17 11:36:01 UTC
Application Variable
Hi,
How do we print all the application variable names and its values? I
tried the following but it didn't work.
my $item;
foreach $item ($Application->Contents) {
print "$item<br>";
}
Any suggestions? Thanks in advance.
Sangeeth
---------------------------------------------------------------------
To unsubscribe, e-mail: asp-unsubscribe@perl.apache.org
For additional commands, e-mail: asp-help@perl.apache.org
Re: Application Variable
Posted by Helmut Zeilinger <hz...@hzlabs.de>.
Hi,
you might try something like this:
...
foreach my $ap_key (sort keys %{$Application}) {
print qq ($ap_key = $Application->{$ap_key}<br>);
}
...
Helmut
>How do we print all the application variable names and its values? I
>tried the following but it didn't work.
>
>my $item;
>foreach $item ($Application->Contents) {
> print "$item<br>";
>}
>
>Any suggestions? Thanks in advance.
>
>Sangeeth
>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: asp-unsubscribe@perl.apache.org
>For additional commands, e-mail: asp-help@perl.apache.org
>
>
>
--
HZ.labs
Dr. Helmut Zeilinger
Wiesengrund 2
D-86 684 Holzheim
Tel 08276/58767
Fax. 08276/ยด58787
Mobil 0160 91 55 61 68
Internet http://www.hzlabs.de
Mail hz@hzlabs.de
---------------------------------------------------------------------
To unsubscribe, e-mail: asp-unsubscribe@perl.apache.org
For additional commands, e-mail: asp-help@perl.apache.org