RE: uninitialized value?

2002-06-26 Thread Hanson, Robert
Premature end of script headers: This could be a lot of things. Use of uninitialized value in string eq at index.cgi line 14. This is merely a warning, not an error. This won't cause a script to fail (see perldoc perdiag). The real error (the first one) isn't giving you any clue.

Re: uninitialized value?

2002-06-26 Thread Felix Geerinckx
on Wed, 26 Jun 2002 11:58:12 GMT, [EMAIL PROTECTED] (David Vd Geer Inhuur Tbv Iplib) wrote: Actualy I prefer this : if (($c eq h) || ($c eq eh) || ($c eq hd) || ($c eq p) || ($c eq c)) { $content = qq{\n}; } Why not use my %in = map { $_ = 1} qw(h eh hd p c); $content = \n if

Search-algoritm

2002-06-26 Thread the sequel
Hello, I'd like to ask if anyone has a good general search algoritm to use for plain text. The idea is, of cause, to get wildcards and typical boolean operators in the algoritm. Maybe returning a array with matches in descending order. I'm open to suggestions. Anyone has a close call? ;) /dune

Re: uninitialized value?

2002-06-26 Thread Kyle Babich
Actually I do have the content-type printed: #!/usr/bin/perl -wT use strict; use CGI qw/ :standard /; $CGI::DISABLE_UPLOADS = 1; $CGI::POST_MAX = 512 * 1024; print Content-type: text/html\n\n; I attached the entire script to this message. - Original Message - From: Hanson, Robert

logon on startup

2002-06-26 Thread Martin Pestun
Hi I've got cgi scripts running on the local Apache. When somebody wants to login my web site, I would like to want from him to use this logon message like this: (Embedded image moved to file: pic28145.pcx) Can you tell me, how can I solve this problem? Thanks Martin pic28145.pcx

RE: uninitialized value?

2002-06-26 Thread Hanson, Robert
Hmmm... I didn't see any problems in the script and it works for me, both at the command line and running through Apache. Have you tried just running it at the command line to see if it works there (without the -T)? If it does work at the command line it could be your web server, unless you

RE: uninitialized value?

2002-06-26 Thread kb
Well, I haven't had any other scripts give me errors yet. I'm getting the same problem on two different servers too: http://imap.cc/cgi-bin/index.cgi http://kb2.net/cgi-bin/index.cgi (Btw: I just added that else error: content failed) Quoting Hanson, Robert [EMAIL PROTECTED]: Hmmm... I

RE: logon on startup

2002-06-26 Thread Troy May
http://apache-server.com/tutorials/ATusing-htaccess.html -Original Message- From: Martin Pestun [mailto:[EMAIL PROTECTED]] Sent: Wednesday, June 26, 2002 5:46 AM To: [EMAIL PROTECTED] Subject: logon on startup Hi I've got cgi scripts running on the local Apache. When somebody wants

Re: logon on startup

2002-06-26 Thread Bruce Ferrell
It done using the apache .htaccess file Martin Pestun wrote: Hi I've got cgi scripts running on the local Apache. When somebody wants to login my web site, I would like to want from him to use this logon message like this: (Embedded image moved to file: pic28145.pcx) Can you tell me,

Re: Web Store

2002-06-26 Thread zentara
On Sun, 23 Jun 2002 14:44:48 -0400, [EMAIL PROTECTED] (Lewis Kirk) wrote: I have set up a site using the venerable Web Store from Extropia (http://www.extropia.com/applications/web_store.html) . I am curious, as the basic program is pretty old, if there are any drawbacks or issues with it? Or

Re: Search-algoritm

2002-06-26 Thread zentara
On Wed, 26 Jun 2002 14:17:24 +0200, [EMAIL PROTECTED] (The Sequel) wrote: Hello, I'd like to ask if anyone has a good general search algoritm to use for plain text. The idea is, of cause, to get wildcards and typical boolean operators in the algoritm. Maybe returning a array with matches in

Extract numbers from in between parentheses with regex

2002-06-26 Thread Kristofer Hoch
Hi all, Please forgive the simple nature of this question. I have never really used regular expression extensivly. Here goes. I am trying to extract a number from in between two parenthesis. I want the first value I find (from right to left) in a string. These numbers could be phone

Re: Extract numbers from in between parentheses with regex

2002-06-26 Thread perl-dvd
-- my $var = (801) 555-; # ya, ok so I'm in utah :) $var =~ /(\(\d+\))/; # real paren, escape paren, \d = digits, # + = one or more, escape paren, real paren my $area_code = $1; # set to what came from between the real parens

Re: Extract numbers from in between parentheses with regex

2002-06-26 Thread Kristofer Hoch
David, Thank you very much for your help. Don't know Utah, I have a lot of friends from there. The expression you provided is almost what I am after. Here is my string. my $String = Characters(803), Value(3); What I am trying to get is 803, but I keep getting (803). Is there a way to get

Re: Extract numbers from in between parentheses with regex

2002-06-26 Thread David T-G
Kristofer -- ...and then Kristofer Hoch said... % % David, % Thank you very much for your help. Don't know Utah, I have a lot of % friends from there. The expression you provided is almost what I am after.. % Here is my string. % % my $String = Characters(803), Value(3); % % What I am

Re: Extract numbers from in between parentheses with regex

2002-06-26 Thread Kristofer Hoch
David(s), Thank you for your help. It works perfectly now. I am adding in both of y'alls names into my class file for your help. (803 is South Carolina, which should explain the accent on the yall) Thank you botha again. Kristofer. Original Message Follows From: David T-G [EMAIL

Re: Extract numbers from in between parentheses with regex

2002-06-26 Thread Brian
Kristofer, you might want to check out the man page's perlrequick and perlre- I found them pretty useful when I was first learning regex (the man page perlretut isn't bad either). Either way, try this; my $string = '(608)-555-1234'; $string =~ /\((\d+)\)-(\d+)-(\d+)/; this results in $1=608,

Re: uninitialized value?

2002-06-26 Thread drieux
On Wednesday, June 26, 2002, at 06:11 , [EMAIL PROTECTED] wrote: [..] Use of uninitialized value in string eq at index.cgi line 14. [..] Here is what (I believe) it is talking about: my $c = param('c'); my $content = c; if ($c eq h) { let us assume that the above is 'line 14' wouldn't it

Templates v/s CGI.pm [WAS:] Displaying Problems

2002-06-26 Thread Todd Wade
Kyle Babich [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... ... bunch of code snipped here . -bgcolor = \#00, -align = center}, Font({ -face = Verdana, Arial, Times New Roman, -size = 4, -color = \#FF}, IMAP.cc ) ),),),),),),),), ^^^ this

Re: Displaying Problems

2002-06-26 Thread fliptop
On Tue, 25 Jun 2002, [EMAIL PROTECTED] opined: : CGI.pm--a threat to our way of life! Down with the troglodytes! :) :Well, not exactly my point, but ok :) Just kidding :I just think there are too many who close their minds to anything but CGI.pm, :including potentially :more efficient

Re: Displaying Problems

2002-06-26 Thread eric-perl
On Tue, 25 Jun 2002, Kyle Babich wrote: Ok, I did like perldoc cgi said and changed it to this: print start_html( -title = IMAP.cc, -head = Link( { -rel = stylesheet, -type = text/css, -href = style.css, } ),

text/plain versus text/html

2002-06-26 Thread Octavian Rasnita
Hi all, Can you tell me what should I put in an SHTML file to show like text/html and not as text/plain? if I use: use LWP::Simple; print head(http://localhost/index.shtml); This prints: text/plain; charset=ISO-8859-1Apache/2.0.36 (Win32) I have problems because of this fact with a web

Re: text/plain versus text/html

2002-06-26 Thread Connie Chan
Well... what's the rest of your .shtml file ? did you put a /head ? - Original Message - From: Octavian Rasnita [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, June 26, 2002 10:11 PM Subject: text/plain versus text/html Hi all, Can you tell me what should I put in an SHTML

Re: What is wrong? (LWP::Simple)

2002-06-26 Thread Connie Chan
How about LWP::UserAgent ? Besides, did you make the head/head in your index.html ? ( I don't know if this is nessary or not, but I always get the right result with head/head and the file.html as a full path) And Umm Is the Page cannot be found Comes up by your server ( Standard 404 ), or

Permission denied on a directory

2002-06-26 Thread bss96kci
Hello! I have two problems: (1) I'm using Linux and I created directories using the following code: mkdir(/data/homewww/../balginst, 0755) or die The directories are being created. The problem is, when I try to open the directory for writing, I get the message No permission. (2)

Re: CPAN: install Bundle::CPAN

2002-06-26 Thread Janek Schleicher
eric-perl wrote at Tue, 25 Jun 2002 07:16:45 +0200: What the heck is Bundle::CPAN? What is going on? It seems like it's installing a completely new version of Perl or something. (It wanted to know where my C compiler is and where it should install stuff!!!) From the Documentation of

Re: Pattern Matching

2002-06-26 Thread Janek Schleicher
Anthony Akens wrote at Tue, 25 Jun 2002 15:49:53 +0200: I'm trying to find a way to match anything between two brackets [] The stuff in between will have alpha, numeric, and symbols (including / - @ and spaces) For instance [akens@egh-org blah/blah/blah] I need to match that

Re: cgi:param problem

2002-06-26 Thread Janek Schleicher
Theuerkorn Johannes wrote at Tue, 25 Jun 2002 14:58:45 +0200: Hi there, i´ve got to pass a serial number to a perl.cgi. Doing it via the cgi:param funktion seems not to work. use strict; use CGI; use DBI; my $cgi_obj = new CGI; my $seriennummer = $cgi_obj-param(seriennummer);

OpenSRS and Authorize.Net

2002-06-26 Thread Jim Lundeen
Greetings, Does anyone know where I can get a ready-made subroutine that will handle submitting charges to Authorize.Net and a second routine that will interface (easily!) with OpenSRS? I would like to write a control panel for my web hosting company, but the above two items would be needed.

Re: Permission denied on a directory

2002-06-26 Thread Janek Schleicher
bss96kci wrote at Wed, 26 Jun 2002 08:52:17 +0200: Hello! (2) $path=/data/homewww/../balginst/Bilder; open(DIR, $path.$fname) or die binmode(DIR); The code writes data in the directory balginst and always writes Bilder and Bilder.$fname. When I write $path/$fname, I get an error

RE: Just started perl, but have run into a problem

2002-06-26 Thread CATHY GEAR (TRUST HQ)
** This e-mail message has been scanned by MAILsweeper for known viruses as it left DHCT/EDMSSA, none were present. Your attention is drawn to the warning notice at the end of this message.

Re: Permission denied on a directory

2002-06-26 Thread David vd Geer Inhuur tbv IPlib
This is maybe not your only error. Of course you have to store contents of a directory like : sub getfiles { opendir(DIR, $base) or die can't open $base : $!; my @files = grep !/^\.\.?$/, readdir(DIR); # Extract the . and .. file closedir(DIR); } # End sub getfiles But if you created the

Re: send to new page?

2002-06-26 Thread David vd Geer Inhuur tbv IPlib
Hi Dennis, I solved this using Javascript. The following will show you how to open a new window for you : my $thanks = http://..;; print input type=button value=\New Window\ Onclick=\window.open('${thanks}')\ ; Maybe not exactly what you want. But the following will submit your form and

CPAN Modules

2002-06-26 Thread Nigel Peck
For all the CPAN modules I have used so far I have simply uncompressed them and used the .pm's as they are. Would someone be kind enough to explain to me why I should or shouldn't use the makefile.pl and test.pl method of installing rather than just copying the .pm's to my lib in the correct

RE: CPAN Modules

2002-06-26 Thread Hanson, Robert
The biggest reason (for me) is that you want the module to test itself. It will also inform you if you don't have all of the prerequisite modules. Besides that, it's easier than copying it once you get used to it, and don't forget that copying won't autosplit the module if that is what the

HTML/XML in-line code solutions

2002-06-26 Thread Nigel Peck
Does anyone know of an in-line code interpreter like PHP but using Perl with the ? ... ? syntax for indicating code. Or, does anyone know how to change Apache::ASP to use ? instead of % (or any of the other such as Mason or embperl) Thanks Nigel ITM Business Solutions Unit 4 Nine Trees Trading

Re: search-engine, searching for 2 words

2002-06-26 Thread David vd Geer Inhuur tbv IPlib
Hi Robert, Looks good, but doens't work :) The if-statements work fine within the while-loop. After that you do something I realy don't get and my perl either :) It start complaining : Use of uninitialized value in numeric ge (=) at /user/web/apache/cgi-bin/IPlib/1 line 88, FILE line 471

Re: HTML/XML in-line code solutions

2002-06-26 Thread Mark Fowler
On Wed, 26 Jun 2002, Nigel Peck wrote: Does anyone know of an in-line code interpreter like PHP but using Perl with the ? ... ? syntax for indicating code. Or, does anyone know how to change Apache::ASP to use ? instead of % (or any of the other such as Mason or embperl) Template Toolkit

getting data from one table, putting it into another...

2002-06-26 Thread Theuerkorn Johannes
Hi there, again one (probably simple) question: I have two databases and want to put the data from one table into the same table in the other database... Doing it like follows up gives me the right values, (like i can see from the later Output) but doesnt write into the second table... Any

RE: getting data from one table, putting it into another...

2002-06-26 Thread Hanson, Robert
Always use placeholders, this should help... my @abfrage = $sth-fetchrow_array; # build placeholders based on num of fields my $placeholders; $placeholders .= ($placeholders ? ,? : ?) for (@abfrage); my $sth2 = $dbh-prepare(INSERT INTO board $placeholders); $sth-execute(@abfrage); The problem

RE: getting data from one table, putting it into another...

2002-06-26 Thread Kipp, James
#put values into an array my @abfrage = $sth-fetchrow_array; #prepare insert of values from the array in second database my $sth2 = $dbh-prepare(INSERT INTO board @abfrage); I think you need to interate through the array and split into the fields of your table then you can use place

RE: CPAN Modules

2002-06-26 Thread Janek Schleicher
Robert Hanson wrote at Wed, 26 Jun 2002 13:51:27 +0200: The biggest reason (for me) is that you want the module to test itself. It will also inform you if you don't have all of the prerequisite modules. Besides that, it's easier than copying it once you get used to it, and don't forget

RE: Initializing CPAN

2002-06-26 Thread LoBue, Mark
Just a note about FTP access in general, not specific to your problem: You need to allow TCP Destination ports 20 21. That would be going out, not coming from. Port 21 is the FTP control port, and port 20 is the FTP data port. You should plug that incoming FTP hole you created, if you don't

Re: Debugging the debugger

2002-06-26 Thread Harry Putnam
Paul Johnson [EMAIL PROTECTED] writes: The text is still there in the latest release candidate for Perl 5.8.0. If anyone feels like saving the world, now would be a very good time to do it. In other words, documentation patches are still being accepted. That would first require one to

Re: Pattern Matching

2002-06-26 Thread Harry Putnam
Akens, Anthony [EMAIL PROTECTED] writes: This will work... /\[.*?\]/ Does exactly what I needed until you run across one with brackets in the brackets [ lots of [something here] stuff ] -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Perl and GUI question

2002-06-26 Thread David T-G
Leila -- ...and then Leila Lappin said... % % Hello all, Hi! % % Please give me some tips and ideas on how to use Perl to create a GUI if that's possible at all. The GUI I'm looking to create is a simple one but it has to run stand alone. It will be the front end for invoking another Perl

Re: HTML/XML in-line code solutions

2002-06-26 Thread Gerald Richter - ecos gmbh
Does anyone know of an in-line code interpreter like PHP but using Perl with the ? ... ? syntax for indicating code. Or, does anyone know how to change Apache::ASP to use ? instead of % (or any of the other such as Mason or embperl) For Embperl 2, that's easy. Embperl can switch syntax. It

RE: Perl and GUI question

2002-06-26 Thread Tom Stewart
There is a book by o'reily mastering Perl/TK that is all about making Perl GUI interfaces. I have done very little with it at this point, but if you pick up the book it should get you started. Tom -Original Message- From: Leila Lappin [mailto:[EMAIL PROTECTED]] Sent: Wednesday, June

PERL and Win2K User Administration

2002-06-26 Thread Mike Garner
This may not be the best place to post this as PERL is only part of my question but here goes: I need to add several thousand user accounts to a Windows 2000 Server (Active Directory). The accounts are exisitng accounts on multiple NT domains. Using PERL scripts coupled with Microsoft's

Re: search-engine, searching for 2 words

2002-06-26 Thread Robert Thompson
It sounds like either use strict or use warnings (-w on the shebang line) is causing the error. If you add: $found{$file}{1} = 0; $found{$file}{2} = 0; before the two if's, that should suppress the error message (hopefully). What I think was happening is that one of the strings never

RE: extracting a string from between parens

2002-06-26 Thread Bob Showalter
-Original Message- From: Shishir K. Singh [mailto:[EMAIL PROTECTED]] Sent: Wednesday, June 26, 2002 11:30 AM To: todd shifflett; [EMAIL PROTECTED] Subject: RE: extracting a string from between parens I have this situation: $in = 02 Jul 5.00 (YHZ GA-E) I want:

RE: extracting a string from between parens

2002-06-26 Thread Shishir K. Singh
-Original Message- From: Shishir K. Singh [mailto:[EMAIL PROTECTED]] Sent: Wednesday, June 26, 2002 11:30 AM To: todd shifflett; [EMAIL PROTECTED] Subject: RE: extracting a string from between parens I have this situation: $in = 02 Jul 5.00 (YHZ GA-E) I want:

RE: extracting a string from between parens

2002-06-26 Thread Shishir K. Singh
I have this situation: $in = 02 Jul 5.00 (YHZ GA-E) I want: $out = YHZGA-E How do I extract the information between the ()s ? Other than the parens all other characters are likely to change. Perhaps $in =~ /\((.*?)\)/; $out = $1; This is a problem if there is no

Re: search-engine, searching for 2 words

2002-06-26 Thread David vd Geer Inhuur tbv IPlib
Hi Robert, Thanks! This wasn't the clue that solved my problem, but it works now. I had the third if-statment placed in a different routine uniq(). Never thought of it to place it within the while loop. which was necesary (of course !!). This is how it looks right now : ...

Re: CPAN Modules

2002-06-26 Thread drieux
On Wednesday, June 26, 2002, at 04:16 , Nigel Peck wrote: For all the CPAN modules I have used so far I have simply uncompressed them and used the .pm's as they are. Would someone be kind enough to explain to me why I should or shouldn't use the makefile.pl and test.pl method of installing

Re: extracting a string from between parens

2002-06-26 Thread bob ackerman
On Wednesday, June 26, 2002, at 08:48 AM, Shishir K. Singh wrote: $out = $1 if ($in =~ /\((.*?)\)/); Nope..won't work..I take it back!! looks ok to me. except it adds extra strokes to previous answer. what do you think is wrong with it?

Re: CPAN Modules

2002-06-26 Thread bob ackerman
On Wednesday, June 26, 2002, at 08:50 AM, drieux wrote: { embedded in that is - so how should I be making perl modules in a standard way that will be easiest for the perl community. Trust me that question will come - since you started with the right form of I found modules I can use at

RE: extracting a string from between parens

2002-06-26 Thread LoBue, Mark
-Original Message- From: bob ackerman [mailto:[EMAIL PROTECTED]] Sent: Wednesday, June 26, 2002 9:07 AM To: [EMAIL PROTECTED] Subject: Re: extracting a string from between parens On Wednesday, June 26, 2002, at 08:48 AM, Shishir K. Singh wrote: $out = $1 if ($in =~

Re: how to include a subroutine from external file?

2002-06-26 Thread drieux
On Wednesday, June 26, 2002, at 07:38 , Kipp, James wrote: so which is better? to make a lib file with functions or a modular/OOP pm file ? technically this is a false dichotomy. you can not tell if the file BAR.pm is an OO style Perl Module, or merely a Functional/Proceduralist style Perl

RE: extracting a string from between parens

2002-06-26 Thread Shishir K. Singh
On Wednesday, June 26, 2002, at 08:48 AM, Shishir K. Singh wrote: $out = $1 if ($in =~ /\((.*?)\)/); Nope..won't work..I take it back!! looks ok to me. except it adds extra strokes to previous answer. what do you think is wrong with it? It will work fine as far as the regex is concerned.

Re: getting data from one table, putting it into another...

2002-06-26 Thread Robert Thompson
This is more of an MySQL question than a Perl question, but here goes: A possible error is that you are inserting into the same table you are selecting from. my $sth = $dbh-prepare( SELECT * FROM board where serial='CN+/P422' ) || my $sth2 = $dbh-prepare(INSERT INTO board @abfrage); As

RE: extracting a string from between parens

2002-06-26 Thread Bob Showalter
-Original Message- From: Shishir K. Singh [mailto:[EMAIL PROTECTED]] Sent: Wednesday, June 26, 2002 12:26 PM To: bob ackerman; [EMAIL PROTECTED] Subject: RE: extracting a string from between parens On Wednesday, June 26, 2002, at 08:48 AM, Shishir K. Singh wrote: $out =

RE: extracting a string from between parens

2002-06-26 Thread Shishir K. Singh
On Wednesday, June 26, 2002, at 08:48 AM, Shishir K. Singh wrote: $out = $1 if ($in =~ /\((.*?)\)/); Nope..won't work..I take it back!! looks ok to me. except it adds extra strokes to previous answer. what do you think is wrong with it? It will work fine as far as the regex is

RE: how to include a subroutine from external file?

2002-06-26 Thread Kipp, James
so far all my libs (well there ain't much ) are all OO pm files. There is what I would call the 'dataLess' OO solution, what is known as a 'utility class' - where one has only a stack of methods that one wishes to have in a 'nameSpaceSafe' environment - so that you know that my

perl email

2002-06-26 Thread Tucker, Ernie
I have a perl scipt that emails certain information to me. I would like a certain line to be in bold or a different color when it is emailed. Is there a way to do this? Ernest P. Tucker II Network Technician Madison Management Area Charter Communications I can get up at nine and be rested,

RE: perl email

2002-06-26 Thread Shishir K. Singh
I have a perl scipt that emails certain information to me. I would like a certain line to be in bold or a different color when it is emailed. Is there a way to do this? Ernest P. Tucker II Network Technician Madison Management Area Charter Communications I can get up at nine and be rested,

RE: perl email

2002-06-26 Thread Timothy Johnson
I'd recommend sending it in html mail. -Original Message- From: Tucker, Ernie [mailto:[EMAIL PROTECTED]] Sent: Wednesday, June 26, 2002 10:32 AM To: [EMAIL PROTECTED] Subject: perl email I have a perl scipt that emails certain information to me. I would like a certain line to be in

RE: perl email

2002-06-26 Thread Tucker, Ernie
how? -Original Message- From: Timothy Johnson [mailto:[EMAIL PROTECTED]] Sent: Wednesday, June 26, 2002 12:38 PM To: 'Tucker, Ernie'; [EMAIL PROTECTED] Subject: RE: perl email I'd recommend sending it in html mail. -Original Message- From: Tucker, Ernie [mailto:[EMAIL

RE: perl email

2002-06-26 Thread Timothy Johnson
Include this line in the header: Content-Type: text/html And then just write out the rest as simple HTML. It's been a while since I've done it, but if you send it like this, I think it should work. From:[EMAIL PROTECTED] To:[EMAIL PROTECTED] Subject:HTML Mail content-type: text/html

RE: perl email

2002-06-26 Thread Shishir K. Singh
Include this line in the header: Content-Type: text/html And then just write out the rest as simple HTML. It's been a while since I've done it, but if you send it like this, I think it should work. From:[EMAIL PROTECTED] To:[EMAIL PROTECTED] Subject:HTML Mail content-type: text/html

Re: perl email

2002-06-26 Thread David T-G
Ernie -- ...and then Tucker, Ernie said... % % I have a perl scipt that emails certain information to me. I would like a % certain line to be in bold or a different color when it is emailed. Is there % a way to do this? There are lots of ways. In fact, there are as many ways as email clients,

RE: perl email

2002-06-26 Thread Timothy Johnson
Oh, sorry. That was just a bold example. I thought I'd just give you a start since this isn't really an html mail mailing list. I'd recommend looking up some simple html tutorials on Google. Since it sounds like you really don't need to get that fancy, it should be pretty easy to do.

RE: perl email

2002-06-26 Thread Kipp, James
What about the Color ?? why not learn how to write html ? http://www.google.com/search?hl=enie=UTF-8oe=UTF8q=html+tutorialsbtnG=Go ogle+Search -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: perl email

2002-06-26 Thread Shishir K. Singh
What about the Color ?? why not learn how to write html ? http://www.google.com/search?hl=enie=UTF-8oe=UTF8q=html+tutorialsbtnG=Google+Search Honestly...I have always dreaded HTML with all those tags!! Makes my head spin:). But then there's no way out of it:(. -- To unsubscribe,

RE: perl email

2002-06-26 Thread Kipp, James
What about the Color ?? why not learn how to write html ? http://www.google.com/search?hl=enie=UTF-8oe=UTF8q=html+tu torialsbtnG=Google+Search Honestly...I have always dreaded HTML with all those tags!! Makes my head spin:). But then there's no way out of it:(. Oh, me too. But it does

RE: perl email

2002-06-26 Thread Timothy Johnson
Just keep it simple and it shouldn't be too painless. As long as all you need is text and a little formatting it's not to hard. -Original Message- From: Shishir K. Singh [mailto:[EMAIL PROTECTED]] Sent: Wednesday, June 26, 2002 11:00 AM To: Kipp, James; [EMAIL PROTECTED] Subject: RE:

RE: perl email

2002-06-26 Thread Tucker, Ernie
This did not work . What am I doing wrong? open(MAIL,| $smail); print MAIL From: etucker\n; print MAIL To: $ubr_info{'email'}\n; print MAIL Subject: Errors on $ubr_info{'IP'}\n\n; print MAIL

Re: perl email

2002-06-26 Thread David T-G
Ernie -- While I still say it's the WRONG WAY to do it, here's what you need to know for this example. ...and then Tucker, Ernie said... % % This did not work . What am I doing wrong? % % open(MAIL,| $smail); % print MAIL From: etucker\n; %

RE: perl email

2002-06-26 Thread Timothy Johnson
Well, I'm not sure how $smail works, but offhand I'd say that the problem is that you put the content-type line in the message instead of the header. All header info has to go before the two newlines. Try this: open(MAIL,| $smail); print MAIL From: etucker\n; print MAIL To:

RE: Perl and GUI question

2002-06-26 Thread Janek Schleicher
Tom Stewart wrote at Wed, 26 Jun 2002 16:41:16 +0200: There is a book by o'reily mastering Perl/TK that is all about making Perl GUI interfaces. I have done very little with it at this point, but if you pick up the book it should get you started. There's also an O'Reilly book

RE: perl email

2002-06-26 Thread Janek Schleicher
Timothy Johnson wrote at Wed, 26 Jun 2002 19:43:52 +0200: Include this line in the header: Content-Type: text/html ... From:[EMAIL PROTECTED] To:[EMAIL PROTECTED] Subject:HTML Mail content-type: text/html ^ ^ But take care to Up/Lower-Case-Writing. Of course write it

Opening a shell with perl.

2002-06-26 Thread Balint, Jess
Hello all. I have an interesting problem that I may be able to solve with perl. I would like to know if anyone thinks this is possible. I want to have a perl program that runs on computer A. Every hour or so, it will attempt to connect to computer B. If computer B is alive and has a seperate perl

RE: Opening a shell with perl.

2002-06-26 Thread Shishir K. Singh
Hello all. I have an interesting problem that I may be able to solve with perl. I would like to know if anyone thinks this is possible. I want to have a perl program that runs on computer A. Every hour or so, it will attempt to connect to computer B. If computer B is alive and has a seperate perl

RE: Opening a shell with perl.

2002-06-26 Thread Balint, Jess
Yes. That seems like it will serve as a good base, but what I need is some way to spawn a shell on computer A to computer B. Kind of a backwards telnet thing. -Original Message- From: Shishir K. Singh [mailto:[EMAIL PROTECTED]] Sent: Wednesday, June 26, 2002 3:03 PM To: Balint, Jess;

RE: Opening a shell with perl.

2002-06-26 Thread Bob Showalter
-Original Message- From: Balint, Jess [mailto:[EMAIL PROTECTED]] Sent: Wednesday, June 26, 2002 2:58 PM To: 'Shishir K. Singh' Cc: '[EMAIL PROTECTED]' Subject: RE: Opening a shell with perl. Yes. That seems like it will serve as a good base, but what I need is some way to

RE: perl email

2002-06-26 Thread Tucker, Ernie
IT WORKS!!! Thanks everyone :) know I just need to remember all my html code :) Ernest P. Tucker II Network Technician Madison Management Area Charter Communications I can get up at nine and be rested, or I can get up at six and be President. ~ Jimmy Carter,

RE: Opening a shell with perl.

2002-06-26 Thread Balint, Jess
How would script a hookup st in/out/err to the socket? -Original Message- -Original Message- Yes. That seems like it will serve as a good base, but what I need is some way to spawn a shell on computer A to computer B. Kind of a backwards telnet thing. Script A opens

RE: Opening a shell with perl.

2002-06-26 Thread Bob Showalter
-Original Message- From: Balint, Jess [mailto:[EMAIL PROTECTED]] Sent: Wednesday, June 26, 2002 3:11 PM To: 'Bob Showalter' Cc: '[EMAIL PROTECTED]' Subject: RE: Opening a shell with perl. How would script a hookup st in/out/err to the socket? Assuming $sock is an IO::Socket

Re: send to new page?

2002-06-26 Thread Dennis Greenfield
Thanks to everyone who gave suggestions. They all were great. I've managed to get it working smoothly and saved myself a lot of time. Again, thanks to all. Dennis Hi Dennis, I solved this using Javascript. The following will show you how to open a new window for you : my

Re: PERL and Win2K User Administration

2002-06-26 Thread Todd Wade
Mike Garner [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... This may not be the best place to post this as PERL is only part of my question but here goes: I need to add several thousand user accounts to a Windows 2000 Server (Active Directory). The accounts

Re: extracting a string from between parens

2002-06-26 Thread drieux
On Wednesday, June 26, 2002, at 08:26 , todd shifflett wrote: I have this situation: $in = 02 Jul 5.00 (YHZ GA-E) I want: $out = YHZGA-E you have a two stage problem - a) get the stuff between the () b) remove the white space if ($in =~

Re: OpenSRS and Authorize.Net

2002-06-26 Thread Peter Scott
At 11:19 PM 6/25/02 -0400, Jim Lundeen wrote: Greetings, Does anyone know where I can get a ready-made subroutine that will handle submitting charges to Authorize.Net and a second routine that will interface (easily!) with OpenSRS? OpenSRS publishes a dev kit for their resellers that has very

Re: Perl Debugger IDE

2002-06-26 Thread Peter Scott
At 02:09 AM 6/25/02 -0500, Shawn wrote: Does anyone know of a IDE debugger that does not choke on complex data objects? I have tried all of the following, but they all have a serious problem with dereferencing an array of referenced hashes... VisiPerl Open Perl IDE OptiPerl ActiveState's PDK

Re: Perl programmer born and bred

2002-06-26 Thread Peter Scott
At 05:24 PM 6/25/02 -0700, Randal L. Schwartz wrote: Jeff == Jeff 'Japhy' Pinyan [EMAIL PROTECTED] writes: Jeff Perhaps this is because programmers are of the sci-fi/fantasy Jeff book-reading ilk, and LotR is perhaps the pinnacle of fantasy. As a counterpoint, I read the Hobbit two or three

Re: #!/usr/bin/perl - is there a macro for this?

2002-06-26 Thread drieux
On Monday, June 24, 2002, at 11:30 , Harry Putnam wrote: [..] One liners have a way of turning into multiliners... thats where a small quick script comes in. [..] Oh yeah - like sure rant and the next thing you know, that script has a function or two, then it's getting those functions

RE: Perl programmer born and bred

2002-06-26 Thread Jeff 'japhy' Pinyan
On Jun 26, Craig Hammer said: Have you ever tried to wade through The Silmarillion? I resent that. ;) I love that book. I've read it twice through now. I've read LotR three times, and I'm reading The Hobbit for the third time, and only now do I realize what a child's book it is. The

Re: HTML::Template

2002-06-26 Thread eric-perl
On Sun, 23 Jun 2002, Shawn Bower wrote: -- my $template = HTML::Template-new(filename='weather.html'); $template-param('CurrTime', $currTime); $template-param('CurrTemp', $currTemp); $template-param('HiTemp', $hiTemp); $template-param('LoTemp', $loTemp);

Re: Displaying Problems

2002-06-26 Thread eric-perl
On Tue, 25 Jun 2002 [EMAIL PROTECTED] wrote: Well, I still can't get my page to display. kb: Much earlier in this thread, I think, the fundamental point got lost: CGI.pm is an added layer of abstraction that creates an additional opportunity for users to wreak havoc. When scipting Web

Re: Just started perl, but have run into a problem

2002-06-26 Thread drieux
On Tuesday, June 25, 2002, at 11:44 , Robert Warning wrote: [..] #!/usr/bin/perl at the beginning of any of my programs it wont run. I get an output from the shell that says /usr/bin/perl: bad interpreter: Permission denied. This sounds like your version of perl is clearly installed

Re: CPAN Modules

2002-06-26 Thread drieux
On Wednesday, June 26, 2002, at 02:23 , Paul Johnson wrote: [..] I know, since two of my modules do that :-) [..] Volks, I just had the coffee break moment Up And SMACK me in the head. The Goal - a simple unified standard for perl module management, hence - could this module hang in

  1   2   >