Re: getting the calling function name.

2001-08-06 Thread Rajeev Rumale
Thanks Dwalu, But the what i need is the grep the name of the sub which is calling the loging sub. As you have suggested "caller" only gives only the name of current sub routine that is &debugLogger it self. And I had to do call the "caller" before calling the "debugLogger" and pass all the info

popup-menue in a html-page

2001-08-06 Thread sendmail
hi list, I got this problem: I want to take all my user names from /etc/password and show them on a html-page with a popup-menu. this way the admin should be able to choose one of the user for another action like deleting the user, renaming him ... please help me with this popup, perhaps I should

RE: running a Java Script from a CGI

2001-08-06 Thread Moon, John
Stefan, I too had A LOT of trouble with JavaScripts , with Netscape. The original code worked on IE but then when I tried Netscape here is what I had to do: 1) Any JavaScript I wanted to include from a separate file ... my $csript = IncludeScript(); print $q->start_html(-title=>$title, -script=>

Re: running a Java Script from a CGI

2001-08-06 Thread David Kirol
Stefan, I think some more information is required here. Also JavaScript and Java Scripts are not the same. Please ask a better question (I am interested in doing this myself and a good question will help us both..) "Stefan Ward" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]

running a Java Script from a CGI

2001-08-06 Thread Stefan Ward
This is a snip of code i have in a CGI. I am having trouble getting ANY java script to run from within a CGI. I would appreciate some help with why this isn't running right. I have looked on the web (do a search on google with java in the box, hahaha) for a good resource to help me figure out h

RE: href in CGI

2001-08-06 Thread Al Hospers
> Why do I need to bring this up every week? Doesn't this info > *stick* around here? maybe because it's not the same folken asking the same question every week? Al Hospers CamberSoft, Inc. alcambersoftcom http://www.cambersoft.com A famous linguist once said: "There is no language wherein

Re: href in CGI

2001-08-06 Thread Michael Kelly
On 8/6/01 10:04 AM, Michael Kelly wrote: > [Erg, I keep replying to just the person who sent the message. This one's to > the list.] > > On 8/6/01 1:04 AM, . wrote: > >> What is the syntax of the href method in CGI.pm? I can't find it in the man >> pages. Is it something like this: >> >> hre

Re: href in CGI

2001-08-06 Thread Michael Kelly
[Erg, I keep replying to just the person who sent the message. This one's to the list.] On 8/6/01 1:04 AM, . wrote: > What is the syntax of the href method in CGI.pm? I can't find it in the man > pages. Is it something like this: > > href([URL],[Additional Attributes],[Link Text | Link Image]

RE: Regexes

2001-08-06 Thread Moon, John
Or ... as Mel reminded me ... $a = '08'; $a=sprintf("%d", $a); IF $a is an integer IF $a is NOT an integer $a=sprintf("%f", $a); # but need to say how many decimal places you want to see ... -Original Message- From: Curtis Poe [mailto:[EMAIL PROTECTED]] Sent: August 06, 200

Re: Regexes

2001-08-06 Thread Curtis Poe
--- Me <[EMAIL PROTECTED]> wrote: > > I have the number '08' and I want to serch for the '0' and repalce > with > > nothing '' being left with only '8'. I am an extreme newbie to > regular > > expressions. Could some one explain to me how I would go about > searching > > for the 0 and replacing

Re: Quick SQL question...

2001-08-06 Thread Curtis Poe
--- Daniel Falkenberg <[EMAIL PROTECTED]> wrote: > list, > > I was wondering how I would go about changing and existing COLUMN(Attribute) > TYPE on a PostgreSQL table? > > Regards, > > Daniel Falkenberg This is not a CGI question, so perhaps there is another mailing list or Usenet group that

Re: href in CGI

2001-08-06 Thread Mel Matsuoka
At 10:04 PM 08/05/2001 -1000, . wrote: >What is the syntax of the href method in CGI.pm? I can't find it in the man >pages. Is it something like this: > >href([URL],[Additional Attributes],[Link Text | Link Image]); The HREF is an attribute of the anchor ("A") tag, ergo: print a( {-href => 'ht

href in CGI

2001-08-06 Thread .
What is the syntax of the href method in CGI.pm? I can't find it in the man pages. Is it something like this: href([URL],[Additional Attributes],[Link Text | Link Image]); I'm asking because the other way that I know about, isn't working in the following code segment: print < Check Out End

Re: getting the calling function name.

2001-08-06 Thread Dwalu Z. Khasu
See perldoc -f caller On Mon, 6 Aug 2001, Rajeev Rumale wrote: =>Hello Every Body, => =>I need some help. =>I am using a sub routine to log all the messages to be used for debugging =>purpose. =>ie. &debugLogger($debug_message); =>Since very similare kind of messages are genrated at serveral pl

getting the calling function name.

2001-08-06 Thread Rajeev Rumale
Hello Every Body, I need some help. I am using a sub routine to log all the messages to be used for debugging purpose. ie. &debugLogger($debug_message); Since very similare kind of messages are genrated at serveral places, I add the function name. i.e., &debugLogger("inside x \n $debug_messa