Re[2]: ? embed scalars in the sql

2001-06-26 Thread Maxim Berlin
Hello mark, Tuesday, June 26, 2001, mark crowe (JIC) <[EMAIL PROTECTED]> wrote: mcJ> If I might make one other little comment - I suggest you initialise $counter mcJ> by $counter=0, rather than $counter="0"; The former makes it a number, the mcJ> latter a string. (jfyi only) you are mistaken. al

Re[4]: ? embed scalars in the sql

2001-06-26 Thread Maxim Berlin
Hello mark, Tuesday, June 26, 2001, mark crowe (JIC) <[EMAIL PROTECTED]> wrote: mcJ> Not entirely true. Try: mcJ> $string = "0.0"; mcJ> print $string; mcJ> - prints "0.0" mcJ> Now try it without the quotes around 0.0 mcJ> - prints "0" let's try another approach: $s = "

Re: Strange Behavior

2001-06-29 Thread Maxim Berlin
Hello James, Friday, June 29, 2001, James Kelty <[EMAIL PROTECTED]> wrote: JK> I was wondering if someone could help me with the following code bit. It JK> is acting strangely. JK> if($ARGV[0] =~ m/^-l$|^-list$/i) { JK> print "What ports? (Press return after each port and CRTL-D when done.

Re: cgi help

2001-07-05 Thread Maxim Berlin
Hello Michael, Saturday, June 23, 2001, Michael P. Carel <[EMAIL PROTECTED]> wrote: MPC> Hi there, Is there any one who can help with my problem regarding perl MPC> cgi's. MPC> I've encountering problemwith my webpages when i execute my cgi prog, heres MPC> my error messages in my page: [...] M

Re[2]: cgi help

2001-07-05 Thread Maxim Berlin
Hello Michael, Sunday, June 24, 2001, Michael P. Carel <[EMAIL PROTECTED]> wrote: >> MPC> Hi there, Is there any one who can help with my problem regarding MPC> perl >> MPC> cgi's. >> MPC> I've encountering problemwith my webpages when i execute my cgi prog, MPC> heres >> MPC> my error messages

Re[2]: test script

2001-07-11 Thread Maxim Berlin
Hello Bradley, Wednesday, July 11, 2001, Bradley M. Handy <[EMAIL PROTECTED]> wrote: BMH> #!/path/to/perl BMH> use CGI; print CGI->>param(); BMH> print "I'm Working"; BMH> I believe the above lines of code should work just fine. your script does not print content/type, so it produces error

Re: CGI vars

2001-07-17 Thread Maxim Berlin
Hello Jerry, Tuesday, July 17, 2001, Jerry Preston <[EMAIL PROTECTED]> wrote: JP> Hi, JP> I setup a var to hold data: JP> $name = $query->param('name'); JP> I get a user input in a textfield. JP> print $query->popup_menu( -name=>'name', JP> -values => $

Re: mutliple threads

2001-07-17 Thread Maxim Berlin
Hello Thomas, Tuesday, July 17, 2001, Thomas Jakub <[EMAIL PROTECTED]> wrote: TJ> How do I implement threading in perl? did you try perldoc thread ? Best wishes, Maximmailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

Re: How to send a notification mail from Windows/NT?

2001-07-20 Thread Maxim Berlin
Hello David, Friday, July 20, 2001, Nazary, David <[EMAIL PROTECTED]> wrote: ND> Hi, ND> When I use the following script to send mail: [...] ND> I get this error message. Any ideas how I can resolve this? C:\CM\utils>>c:\perl\bin\perl smtp_mailer2.pl ND> The system cannot find the path spec

Re: DROP DOWN BOXEN

2001-07-26 Thread Maxim Berlin
Hello Daniel, Thursday, July 26, 2001, Daniel Falkenberg <[EMAIL PROTECTED]> wrote: DF> I would like the following HTML/PERL sub. to go forth and grab all the users DF> from my database and place them into a drop down box. Problem is I am DF> getting information allover the page everywhere? Cou

Re: newlines

2001-07-26 Thread Maxim Berlin
Hello Sergio, Thursday, July 26, 2001, Sergio Gonzalez <[EMAIL PROTECTED]> wrote: SG> Hi, SG> I'm wondering how to make sure that when my data is written to a file, a SG> proper end of line is in place after ea. intended line. it's not your job. leave it to operating system. SG> code: SG> .

Re[2]: getting the calling function name.

2001-08-07 Thread Maxim Berlin
Hello Rajeev, Saturday, July 07, 2001, Rajeev Rumale <[EMAIL PROTECTED]> wrote: RR> But the what i need is the grep the name of the sub which is calling the RR> loging sub. do you read perldoc -f caller? [...] RR> sub debugLogger { RR> my $message = "@_"; RR> $sub_name = ""; # Get t

Re: antispam or something

2001-08-08 Thread Maxim Berlin
Hello Morgan, Wednesday, August 08, 2001, Morgan Norell <[EMAIL PROTECTED]> wrote: MN> in the mailform MN> require log.pl MN> and in the log.pl MN> #!/usr/bin/perl -wT MN> $location = "unknown"; MN> if ($ENV{'REMOTE_ADDR'}) { MN> $location = $ENV{REMOTE_ADDR}; $location = $ENV{'

Re: A better way for ugly code?

2001-08-09 Thread Maxim Berlin
Hello Mark, Thursday, August 09, 2001, Mark Ross <[EMAIL PROTECTED]> wrote: MR> I'm curious how I can condense this code. I'm pulling MR> my values from a Web submitted form (using CGI), and I MR> need to untaint them. MR> But, each form field has different requirement for MR> what characters i

Re: dynamic table help

2001-08-20 Thread Maxim Berlin
Hello Keith, Monday, August 20, 2001, Keith & Rachel Murphy <[EMAIL PROTECTED]> wrote: KRM> Need a little help. I have a problem that I have been banging my KRM> head on all weekend and I am more than a little frustrated. KRM> Basically, I want to pull data from a database and display it

Re: Global Variables

2001-11-02 Thread Maxim Berlin
Hello jason, Friday, November 02, 2001, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: jwc> Need some help. jwc> I think that I need to be using global variables. Unless Someone has a> jwc> better solution. jwc> What I am trying to do is. I want to set a variable for such things as jw

Re: creating web interface for .forward on linux

2001-12-14 Thread Maxim Berlin
Hello KeN, Friday, December 14, 2001, KeN ClarK <[EMAIL PROTECTED]> wrote: KC> i've looked through 'learning perl' 2nd edition, and am confused. much. i KC> want to create an interface for system users to update their .forward KC> files in their $HOME directories. KC> I want this to be a web-