Printing for debugging

2008-01-14 Thread Raful Mr Mitchell H
I have my code pasted below. My module, loaded with Location directive in Apache2, works well. However, sometimes switches don't respond correctly to bulk queries of fdbPorts object. What I want to do is to be able print the value of my variables either to the browser or a log file. A

RE: Printing for debugging

2008-01-14 Thread Raful Mr Mitchell H
-363-0731 -Original Message- From: Colin Wetherbee [mailto:[EMAIL PROTECTED] Sent: Monday, January 14, 2008 11:08 AM To: Raful Mr Mitchell H Cc: Modperl (E-mail) Subject: Re: Printing for debugging Raful Mr Mitchell H wrote: I have my code pasted below. My module, loaded with Location

segfault

2008-01-02 Thread Raful Mr Mitchell H
My script looks like this use Apache2::Request (); my $req = Apache2::Request- new($r) my $data = req-{param-name} It causes a segfault error. Any ideas? Mitch Mitchell Raful MCSE CCNP MCB Quantico Personal and Family Readiness (MRI) 3044 Catlin Avenue Quantico, VA 22134 Com:

RE: segfault

2008-01-02 Thread Raful Mr Mitchell H
[mailto:[EMAIL PROTECTED] Sent: Wednesday, January 02, 2008 3:30 PM To: Raful Mr Mitchell H Cc: modperl@perl.apache.org Subject: Re: segfault Raful Mr Mitchell H wrote: My script looks like this use Apache2::Request (); my $req = Apache2::Request- new($r) my $data = req-{/param-name

help with rewriting CGI

2007-12-30 Thread Raful Mr Mitchell H
I have a site that is written with traditional CGI (no cgi.pm ). I use mod_perl2 but rather than run the scripts as CGI I want to convert them to mod_perl. I have read Beckman's latest on mod_perl 2 and have Practical Mod_Perl. Here's the question. From what I have read, it looks like I