Trouble with CGI::Carp

2003-03-13 Thread Gary McMeekin
I am trying to prevent generic crashes going to the browser in my CGI program. I am using : use CGI::Carp 'fatalsToBrowser'; and eventually I will use a set_message. However I have a strange problem in that the following subroutine, if there are errors on the statement execution, it does not send

Re: Previous and Next

2003-03-13 Thread Lisa Wolfisch
Hi, In reference to the question of next/previous links - > > "Octavian" == Octavian Rasnita <[EMAIL PROTECTED]> writes: > Octavian> You need to use Javascript. > Octavian> Back I agree with Randal. If the asnwer is "history.back()", then the question must be asked again. You cannot depend on

Re: formatting money $12.00

2003-03-13 Thread David Gilden
> > #!/usr/bin/perl -w > > > > $num =1.12345; > > > > my $tax_formated = sprintf("%.2f", $num); # <--- THIS LINE ### $tax_formated is used in a few places > The important thing is, does it do what youo are expecting it to do? Well yes, I think so. I wanted to cut down on the times I was

Re: Function for HTML code

2003-03-13 Thread Michael Kelly
On Thu, Mar 13, 2003 at 11:32:02AM +0100, [EMAIL PROTECTED] wrote: > Hello, Hello, > which function could I use to transform characters such as '"' into code for > HTML. > Any think like: > $string='a>b'; > Func($string) return ('a>b') The HTML::Entities module can do this for you: #!/

Re: Previous and Next

2003-03-13 Thread Randal L. Schwartz
> "Octavian" == Octavian Rasnita <[EMAIL PROTECTED]> writes: Octavian> You need to use Javascript. Octavian> Back If the answer is javascript, you asked the wrong question. And if you think a user can't figure out how to press the back button when they want to do that, how in the world are t

Re: Sending JavaScript variables to a perl program

2003-03-13 Thread drieux
On Wednesday, Mar 12, 2003, at 13:22 US/Pacific, Shahar Evron wrote: hi... is there a good way to send JavaScript variables to a perl program WITHOUT using a form? (or mybe with a form, but i don't want the program to return anything, and i don't want a popup window to show up...) I know it so

Re: Previous and Next

2003-03-13 Thread Octavian Rasnita
You need to use Javascript. Back Teddy, Teddy's Center: http://teddy.fcc.ro/ Email: [EMAIL PROTECTED] - Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, March 13, 2003 10:42 AM Subject: Previous and Next Hi List, How can i write a PERL Script to s

Re: ASN1.pm

2003-03-13 Thread Jenda Krynicky
From: zentara <[EMAIL PROTECTED]> > On Wed, 12 Mar 2003 12:02:52 -0500, [EMAIL PROTECTED] (Susan > Aurand) wrote: > > >I am getting an error can't locate ASN1.pm, I have tracked that down > >to - I need Convert-BER-1.25.tar.gz. I have downloaded the file. I > >cannot find the documents on this do

Re: sprintf questions

2003-03-13 Thread Brett W. McCoy
On Wed, 12 Mar 2003, David Gilden wrote: > Is the following considered ok as in good PERL style? > > #!/usr/bin/perl -w > > $num =1.12345; > > my $tax_formated = sprintf("%.2f", $num); # <--- THIS LINE > > print "$tax_formated " ,length($tax_formated), "\n"; The important thing is, does it do w

Re: ASN1.pm

2003-03-13 Thread zentara
On Wed, 12 Mar 2003 12:02:52 -0500, [EMAIL PROTECTED] (Susan Aurand) wrote: >I am getting an error can't locate ASN1.pm, I have tracked that down to - I need >Convert-BER-1.25.tar.gz. I have downloaded the file. I cannot find the documents on >this download, >where to unzip and load, etc... Doe

Function for HTML code

2003-03-13 Thread Khalid . Naji
Hello, which function could I use to transform characters such as '"' into code for HTML. Any think like: $string='a>b'; Func($string) return ('a>b') Thank you KN -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Sending JavaScript variables to a perl program

2003-03-13 Thread Shahar Evron
hi... is there a good way to send JavaScript variables to a perl program WITHOUT using a form? (or mybe with a form, but i don't want the program to return anything, and i don't want a popup window to show up...) I know it sounds wierd, so i'll give an example... lets say i have a statistics gat

Previous and Next

2003-03-13 Thread Khalid . Naji
Hi List, How can i write a PERL Script to simulate the Previous (->) and Next (->) Links (like in IE or Netscape). Thanks KN -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]