Loading ...
Sorry, an error occurred while loading the content.

Re: Application Variable

Expand Messages
  • Helmut Zeilinger
    Hi, you might try something like this: ... foreach my $ap_key (sort keys %{$Application}) { print qq ($ap_key = $Application- {$ap_key} ); } ... Helmut ...
    Message 1 of 3 , May 18 12:32 AM
    • 0 Attachment
      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@...
      >For additional commands, e-mail: asp-help@...
      >
      >
      >


      --
      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@...


      ---------------------------------------------------------------------
      To unsubscribe, e-mail: asp-unsubscribe@...
      For additional commands, e-mail: asp-help@...
    • John Drago
      You could use the Data::Dumper module: use Data::Dumper; print ; print Dumper( $Application ); ... From: notify@yahoogroups.com
      Message 2 of 3 , May 18 7:50 AM
      • 0 Attachment
        You could use the Data::Dumper module:

        use Data::Dumper;
        print "<plaintext>";
        print Dumper( $Application );



        -----Original Message-----
        From: notify@yahoogroups.com [mailto:notify@yahoogroups.com] On Behalf
        Of sangeethvs
        Sent: Tuesday, May 17, 2005 3:36 AM
        To: asp@...
        Subject: 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@...
        For additional commands, e-mail: asp-help@...



        ---------------------------------------------------------------------
        To unsubscribe, e-mail: asp-unsubscribe@...
        For additional commands, e-mail: asp-help@...
      Your message has been successfully submitted and would be delivered to recipients shortly.