Re: @ARGV, -w, use strict;

2003-04-02 Thread Rob Dixon
R. Joseph Newton wrote: > Dan Muey wrote: > > > > > > use: > > >if ( defined $ARGV[0] && ) > > > > Thanks that did it! > > Whoops! Should have read this before I posted. Using defined() will capture a > 0 from STDIN, which could be ameaningful value. Your suggestion is much bet

DBI:mysql

2003-04-02 Thread jaws
hi all, i want to use the mysql password() function in my perl script. The function of my script is to insert values into mysql table. below is a snippet of mysq script: ### use DBI; $database="vpdn"; $host="localhost"; $user="db"; $pw="mysql";

Re: Threads blocking on solaris

2003-04-02 Thread Mark G
I dont know if this is the problem, but why do you issue a system sleepperl has a built it sleep [perldoc -f sleep]. Is perl system thread safe on Solaris ?? Maybe you launch your threads and they are sleeping and you dont realize it , just my 2 cents. Mark - Original Message - From: "

Re: Problem with XML::Parser

2003-04-02 Thread Wiggins d'Anconia
Keith Boynton wrote: I am having some problems with the XML::Parser module. It is returning an error when passed some valid xml in the form of a string. The error it returns is: No element found at line 1, column 0 byte -1 This seems to suggest that the string is empty although if I print the stri

Re: Which Perl is used to run the script???

2003-04-02 Thread Wiggins d'Anconia
Tony Esposito wrote: Question: ( I believe I know the answer but I have - not by my design - several versions of Perl on my development system and I want to be sure which Perl is being used because some have more modules installed than others ). In this case unless the modules you wish to

Re: Php perl?

2003-04-02 Thread R. Joseph Newton
Bob Showalter wrote: > [EMAIL PROTECTED] wrote: > > I have a PHP vs. Perl question for a hobby project of mine. Which > > would be the better language to use if I wanted to go out to a > > particular web page and parse the table that's there? How about if > > each row in the HTML table contains a

Re: Retrieving word and sourounding text

2003-04-02 Thread Wiggins d'Anconia
[EMAIL PROTECTED] wrote: $word = "seminary"; I am trying to retrieve a word, and the surrounding text in a file. For example, read through a file for $word, and when matched, place in a variable the matching word, along with the 10 words preceding it and trailing it, and have it work over multi

Re: Perl Mailer

2003-04-02 Thread simran
Search for MIME::Entity on http://search.cpan.org/ On Thu, 2003-04-03 at 10:39, Hytham Shehab wrote: > hi guys, > is anybody here knows a good script - good means MIME attachments - that > act as a mailer agent ? > > i have write some small scripts myself, but if someone can handle MIME and

Re: Perl Mailer

2003-04-02 Thread Wiggins d'Anconia
Hytham Shehab wrote: hi guys, is anybody here knows a good script - good means MIME attachments - that act as a mailer agent ? i have write some small scripts myself, but if someone can handle MIME and it is already written, then it is better to use it. Check CPAN for MIME or in the Mail (sub)c

Re: @ARGV, -w, use strict;

2003-04-02 Thread R. Joseph Newton
Dan Muey wrote: > > > > > > ./test.pl > > > Use of uninitialized value at ./test.pl line 4. > > > HI > > > ./test.pl hi7 > > > hi7 has a number in it > > > HI > > > > use: > >if ( defined $ARGV[0] && ) > > Thanks that did it! > > > Wags ;) Whoops! Should have read this before I

Re: @ARGV, -w, use strict;

2003-04-02 Thread R. Joseph Newton
Dan Muey wrote: > if you do use strict; and a -w switch and you use $ARGV[0] > it says "use of uninitiated value at line ..." if $ARGV[n] is empty > > What do I need to do with @ARGV or $ARGV[n] to make it not give that message? > > > #!/usr/bin/perl -w > use strict; > > if($ARGV[0] =~ /\d/) { pri

Perl Mailer

2003-04-02 Thread Hytham Shehab
hi guys, is anybody here knows a good script - good means MIME attachments - that act as a mailer agent ? i have write some small scripts myself, but if someone can handle MIME and it is already written, then it is better to use it. thx v.much -- To unsubscribe, e-mail: [EMAIL PROTECTED]

Re: Sql statements in perl scripts

2003-04-02 Thread R. Joseph Newton
Jensen Kenneth B SrA AFPC/DPDMPQ wrote: > I can't install the DBI modules to talk to our database, so I am trying to > run some commands from a system call. I am trying to pass some variables > retrieved from command line arguments to the sql statements. Here's my > problem, I can't get the variab

Re: Command line argurments to perl program

2003-04-02 Thread david
Madhu Reddy wrote: > Hi, > I want to pass command line arguements to perl > program ? > How to do this ? > Perl stores args passed to your script at @ARGV. you could check what's there by looking at this array like: #!/usr/bin/perl -w use strict; #-- #-- cat.pl #-- while(@ARGV){ pri

Re: access CGI action parameter

2003-04-02 Thread R. Joseph Newton
Yannick Warnier wrote: > Hi, > > I cannot find any way of accessing an "action" parameter of a form with > my perl script. > > So in fact i have > > Appending any query string to the URL is the browser's task. It is best not to try to duplicate it. Joseph -- To unsubscribe, e-mail: [E

Threads blocking on solaris

2003-04-02 Thread Phil Schaechter
Hi all, I have a very interesting problem. I have my main program waiting for data on stdin, while other threads are running - and lauching yet more threads. Threads block while trying to launch new threads until I hit enter. The code below (which I whipped out quickly to demo the problem) b

RE: Command line argurments to perl program

2003-04-02 Thread David Olbersen
> There's also modules if it's a complicated list of command options. > > Not sure of the name exactly, just go to search.cpan.org and > take a look. That'd be Getopt::Long and Getopt::Std -- should be part of the default perl package. -- David Olbersen iGuard Engineer

Re: help with email function

2003-04-02 Thread R. Joseph Newton
"Odion A. Edeki" wrote: > Hi Joseph:> I saw your response on a message board and I need some help. Hi Odion, Please post to the list as a whole. You will get a much broader range of help doing this. > How can I use sendmail as an email function in my security application. I would advise aga

RE: Command line argurments to perl program

2003-04-02 Thread Dan Muey
> Hi, > I want to pass command line arguements to perl > program ? > How to do this ? There's also modules if it's a complicated list of command options. Not sure of the name exactly, just go to search.cpan.org and take a look. DMuey > > Thanks > -Madhu > > >

RE: Command line argurments to perl program

2003-04-02 Thread Dan Muey
> Hi, > I want to pass command line arguements to perl > program ? > How to do this ? They are stored in an array named @ARGV So ./script.pl -q You'd say :: if(defined $ARGV[0] && $ARGV[0] =~ m/^-q$/) { print "I am Q!\n"; } > > Thanks > -Madhu > > > __

Command line argurments to perl program

2003-04-02 Thread Madhu Reddy
Hi, I want to pass command line arguements to perl program ? How to do this ? Thanks -Madhu __ Do you Yahoo!? Yahoo! Tax Center - File online, calculators, forms, and more http://tax.yahoo.com -- To unsubscribe, e-mail: [EMAIL PROTECTED] For ad

LSOF in perl [list open files]

2003-04-02 Thread Madhu Reddy
Does anybody know, is there any lsof, unix equivalant utility in perl (on windows) Thanks in advance -Madhu __ Do you Yahoo!? Yahoo! Tax Center - File online, calculators, forms, and more http://tax.yahoo.com -- To unsubscribe, e-mail: [EMAIL PRO

RE: Sql statements in perl scripts

2003-04-02 Thread Jeff Westman
Quotes get real tricky when doing system calls. This method works for me put your SQL into a varible using 'qx' (or qq, then run it with system), such as qx{sqlplus /<< SQLEOF set heading off set linesize 120 spool viewdata.kj select table_name,column_name,data_length,dat

RE: Which Perl is used to run the script???

2003-04-02 Thread Tony Esposito
With the exception of the '-e' option point that you mentioned, I think what I was trying to say ( I guess poorly ) is what you said - very eloquently, I might add - in your summary. Thanks for the info! :-) > Anthony (Tony) Esposito > Senior Technical Consultant > Inovis(tm), formerly Harbinger

Net::FTP in Passive mode hangs and fails (really frustrating)

2003-04-02 Thread Peter_Farrar
Hi All, I'm unsure what to do next. I hope someone has beaten this before and hears my cry for help. I've implemented a script to transfer files to a client, and to pick files up. There is a firewall, though I don't know much about it. I instantiate the Net::FTP object with Passive => 1. The

Re: Which Perl is used to run the script???

2003-04-02 Thread Stefan Lidman
> > perl -e myperl > > You *still* wouldn't use -e here. The "-e" is used when you have code after it not the name of a program. e.g. perl -e 'for (1..10){print "Hello World!\n"}' /Stefan -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: newbie module question

2003-04-02 Thread Alfred Vahau
Hi, As you are using the ActiveState distribution of Perl in Win32 environment, you can also post to the Perl-Win32 mailing list. The ActiveState ActivePerl 5.8 comes with adequate documentation. It also has a Perl Packet Manager that is used to install Perl modules. Consult the documentation on

RE: reading a html page

2003-04-02 Thread Dan Muey
> Hi guys, Howdy > I need to read an email in which there is a link to an html > file. From this html files, there are many links to files for > download (small). I'd like to automatically collect these > files and put them in different folders. Is that possible? > Anybody have any pointer o

RE: Which Perl is used to run the script???

2003-04-02 Thread Bob Showalter
Tony Esposito wrote: > So if I understand you correctly, if the line > > #!/usr/bin/perl > > exists in your Perl program, then that Perl is used regardless. No. That program is only used if your script is started by the kernel. This is called an "interpreter file" and the behavior

RE: Sql statements in perl scripts

2003-04-02 Thread Jensen Kenneth B SrA AFPC/DPDMPQ
I found that if I use qx() to call the sql commands the substitutions actually work. Problem solved for the time being :) -Original Message- From: Jensen Kenneth B SrA AFPC/DPDMPQ [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 02, 2003 2:03 PM To: 'Jeff Westman'; beginners Subject: RE:

reading a html page

2003-04-02 Thread learn perl
Hi guys, I need to read an email in which there is a link to an html file. From this html files, there are many links to files for download (small). I'd like to automatically collect these files and put them in different folders. Is that possible? Anybody have any pointer on where should I start?

RE: @ARGV, -w, use strict;

2003-04-02 Thread Dan Muey
> > > > ./test.pl > > Use of uninitialized value at ./test.pl line 4. > > HI > > ./test.pl hi7 > > hi7 has a number in it > > HI > > use: >if ( defined $ARGV[0] && ) Thanks that did it! > Wags ;) > > > ** > This messa

RE: @ARGV, -w, use strict;

2003-04-02 Thread Wagner, David --- Senior Programmer Analyst --- WGO
Dan Muey wrote: > if you do use strict; and a -w switch and you use $ARGV[0] > it says "use of uninitiated value at line ..." if $ARGV[n] is empty > > What do I need to do with @ARGV or $ARGV[n] to make it not give that > message? > > > #!/usr/bin/perl -w > use strict; > > if($ARGV[0] =~ /\d/)

@ARGV, -w, use strict;

2003-04-02 Thread Dan Muey
if you do use strict; and a -w switch and you use $ARGV[0] it says "use of uninitiated value at line ..." if $ARGV[n] is empty What do I need to do with @ARGV or $ARGV[n] to make it not give that message? #!/usr/bin/perl -w use strict; if($ARGV[0] =~ /\d/) { print "$ARGV[0] has a number in

RE: Sql statements in perl scripts

2003-04-02 Thread Tony Esposito
Strike that...I missed your earlier email.sorry! > Anthony (Tony) Esposito > Senior Technical Consultant > Inovis(tm), formerly Harbinger and Extricity > 2425 N. Central Expressway, Suite 900 > Richardson, TX 75080 > (972) 643-3115 > [EMAIL PROTECTED] > -Original Message-

RE: Sql statements in perl scripts

2003-04-02 Thread Tony Esposito
Any reason why you can not use DBI::Oracle instead of using a system call and 'here' document to access SQL*Plus? HTH > Anthony (Tony) Esposito > Senior Technical Consultant > Inovis(tm), formerly Harbinger and Extricity > 2425 N. Central Expressway, Suite 900 > Richardson, TX 75080 > (972) 64

RE: Sql statements in perl scripts

2003-04-02 Thread Jensen Kenneth B SrA AFPC/DPDMPQ
When I just quote the variable, this is what the spool looks like. ~ select table_name,column_name,data_length,data_type from dba_tab_columns where table_name = '""' and owner = 'X'; no rows selected ~ perl also throws a warning that MAIN::$VIEWNAME & MAIN::$TABLENAME are only used on

RE: Which Perl is used to run the script???

2003-04-02 Thread Tony Esposito
So if I understand you correctly, if the line #!/usr/bin/perl exists in your Perl program, then that Perl is used regardless. And if it is missing, then perl -e myperl will use the first Perl environment that is found in the environment $PATH. > Anthony (Tony) Esposito

Re: Sql statements in perl scripts

2003-04-02 Thread Jeff Westman
Hi, --- Jensen Kenneth B SrA AFPC/DPDMPQ <[EMAIL PROTECTED]> wrote: > I can't install the DBI modules to talk to our database, so I am trying to > run some commands from a system call. I am trying to pass some variables > retrieved from command line arguments to the sql statements. Here's my > pro

RE: Retrieving word and sourounding text

2003-04-02 Thread David Olbersen
Jim, You could start by defining what a word is, using some regex: $wordRegex = qr/... something here .../; Then build up from there: ($match) = $input =~ /($wordRegex{10}\s$word\s$wordRegex{10})/; Just an idea. -- David Olbersen iGuard Engineer 11415 West Bernardo Co

Retrieving word and sourounding text

2003-04-02 Thread Jimstone77
$word = "seminary"; I am trying to retrieve a word, and the surrounding text in a file. For example, read through a file for $word, and when matched, place in a variable the matching word, along with the 10 words preceding it and trailing it, and have it work over multiple lines. Is there an

Re: minor regex brain fart

2003-04-02 Thread Elias Assmann
On Wed, Apr 02, 2003 at 12:45:37PM -0500, Yacketta, Ronald wrote: > I have hit a minor brain road block here, trying to regex out a line > containing all text up to the first . > > Line looks like this: > > <04/01/03 16:36:21.737 [blah]>|blah(): Throw blah from idl method: Number: > 6048 Reason:

Re: minor regex brain fart

2003-04-02 Thread Stefan Lidman
> Here is my regex > > push( @errors, $1) if ( $_ =~ /^<$g_date.*method: (.*\. )/ ); Regex are greedy by defalt add a ? for non greedy matching push( @errors, $1) if ( $_ =~ /^<$g_date.*method: (.*?\. )/ ); and it should work /Stefan > What I am seeing is > > Number: 6048 Reason: blah faile

problems installing Tk module

2003-04-02 Thread jonathan gerber
Hello, I am running RH8.0 and ran into a problem installing the tk module downloaded from CPAN. This is my first attempt at such a feat, so please help. I followed the directions to make the module but didnt get far. followed this sequence perl Makefile.PL seemed to work make started

Sql statements in perl scripts

2003-04-02 Thread Jensen Kenneth B SrA AFPC/DPDMPQ
I can't install the DBI modules to talk to our database, so I am trying to run some commands from a system call. I am trying to pass some variables retrieved from command line arguments to the sql statements. Here's my problem, I can't get the variables to expand for use in the sql code #!perl -w

RE: Which Perl is used to run the script???

2003-04-02 Thread Bob Showalter
Tony Esposito wrote: > Question: > > When a Perl script - let's say myperl.pl - has the following as its > first line: > > #!/usr/bin/perl > > yet your PATH is set to use another version of Perl - let's say > /opt/perl5.6.1/bin/perl - > > then which 'Perl' is used when

Re: [mail_lists] RE: Php perl?

2003-04-02 Thread George Schlossnagle
On Wednesday, April 2, 2003, at 01:19 PM, Jim wrote: | Perl has the LWP family of modules for doing HTTP client applications, as | well as various HTML and XML parsing modules that can be used for what | you're describing. PHPs support for this is actually really nice. For simple things you ca

RE: access CGI action parameter

2003-04-02 Thread Bob Showalter
Yannick Warnier wrote: > Hi, > > I cannot find any way of accessing an "action" parameter of a form > with my perl script. > > So in fact i have > > > > And in the called script, I would like to have the "param" value > "value". How can I do that? It doesn't work with > > $object = new CG

Re: [mail_lists] RE: Php perl?

2003-04-02 Thread Jim
On Wednesday 02 April 2003 08:10, Bob Showalter wrote: | [EMAIL PROTECTED] wrote: | > I have a PHP vs. Perl question for a hobby project of mine. Which | > would be the better language to use if I wanted to go out to a | > particular web page and parse the table that's there? How about if | > each

Re: Php Perl?

2003-04-02 Thread Jim
On Tuesday 01 April 2003 11:23, Adriano Allora wrote: This has been an interesting thread.  Here's my take: I like them both but I prefer Perl.  I use to say that Perl was best for application level stuff and PHP was best for web content related stuff.   However, that kind of thinking is somewh

minor regex brain fart

2003-04-02 Thread Yacketta, Ronald
Folks, I have hit a minor brain road block here, trying to regex out a line containing all text up to the first . Line looks like this: <04/01/03 16:36:21.737 [blah]>|blah(): Throw blah from idl method: Number: 6048 Reason: blah failed: blah. blah. - OrderNumber blah WorksheetNumber SR Worksh

RE: newbie module question (FOUO)

2003-04-02 Thread Meidling, Keith, CTR, OSD-C3I
FOR OFFICIAL USE ONLY A great book to start off with is Beginning Perl by Simon Cozens published by Wrox ISBN: 1-861003-14-5 I still use this book as a reference. Others also suggest Learning Perl by O'Reilly -Original Message- From: Leon [mailto:[EMAIL PROTECTED] Sent: Friday, March 2

Which Perl is used to run the script???

2003-04-02 Thread Tony Esposito
Question: When a Perl script - let's say myperl.pl - has the following as its first line: #!/usr/bin/perl yet your PATH is set to use another version of Perl - let's say /opt/perl5.6.1/bin/perl - then which 'Perl' is used when you execute the program from the com

RE: Problems with TEXT::CSV_XS

2003-04-02 Thread BK GOOD
Can Text::CSV handle other types of delimited files besides comma? -Original Message- From: George Schlossnagle [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 02, 2003 10:09 AM To: Dan Muey Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Re: Problems with TEXT::CSV_XS Text::CSV (no X

RE: pattern matching

2003-04-02 Thread Dan Muey
> Hi Gurus, > > I want to read a file and find/build an array of lines that > match. Is it > possible to do something like; > > if ( $pattern =~ /$line/ ) { > dostuff; > } That will work although I think you mean : foreach $line(@file) { if($line =~ m/$pattern/)

RE: access CGI action parameter

2003-04-02 Thread Dan Muey
> > Hi, > > I cannot find any way of accessing an "action" parameter of a > form with my perl script. > > So in fact i have > > Try putting param=value into a hidden form field. When you mix get and post it won't always work. DMuey > > And in the called script, I would like to have t

Re: pattern matching

2003-04-02 Thread Rob Dixon
Hi Dermot. Dermot Paikkos wrote: > Hi Gurus, > > I want to read a file and find/build an array of lines that match. That match what? Each other? > Is it possible to do something like; > > if ( $pattern =~ /$line/ ) { > dostuff; > } Yes, you can do exactly that. The test will succeed if $pattern

parse out HEX / ASCII characters

2003-04-02 Thread Johnson, Shaunn
Howdy: Is there a way to parse out characters that somehow wind up in an ASCII file. For examples, I have data that appears to have those wingding characters further down. I don't know all of what's in there, but I can not use the file unless I get rid of them. How do you identify them and rem

pattern matching

2003-04-02 Thread Dermot Paikkos
Hi Gurus, I want to read a file and find/build an array of lines that match. Is it possible to do something like; if ( $pattern =~ /$line/ ) { dostuff; } Does perl interpolate the to variables? Or do I need to escape one of the variables? Any ideas? Dp. ~~ Dermot Paikkos * [EMAIL PR

access CGI action parameter

2003-04-02 Thread Yannick Warnier
Hi, I cannot find any way of accessing an "action" parameter of a form with my perl script. So in fact i have And in the called script, I would like to have the "param" value "value". How can I do that? It doesn't work with $object = new CGI; print $object->param('param'); Help! Yanni

Re: Problems with TEXT::CSV_XS

2003-04-02 Thread Jenda Krynicky
From: "BK GOOD" <[EMAIL PROTECTED]> > The TEXT::CSV_XS module has problems parsing delimited files with > funny characters, binary data or missing quotes. It will blank out > the records. Does anyone know of another module for parsing delimited > files that can handle this type o

RE: Php perl?

2003-04-02 Thread Bob Showalter
[EMAIL PROTECTED] wrote: > I have a PHP vs. Perl question for a hobby project of mine. Which > would be the better language to use if I wanted to go out to a > particular web page and parse the table that's there? How about if > each row in the HTML table contains a link to another Web page which

Re: Problems with TEXT::CSV_XS

2003-04-02 Thread George Schlossnagle
Text::CSV (no XS) has done an all-too-good job of parsing binary data for me in the past. On Wednesday, April 2, 2003, at 11:02 AM, Dan Muey wrote: The TEXT::CSV_XS module has problems parsing delimited files with funny characters, binary data or missing quotes. It will blank out the records.

RE: Problems with TEXT::CSV_XS

2003-04-02 Thread Dan Muey
> The TEXT::CSV_XS module has problems parsing delimited files > with funny characters, binary data or missing quotes. It > will blank out the records. Does anyone know of another > module for parsing delimited files that can handle this type of data? I think DBI handles CSV. I'd say your bes

RE: Php perl?

2003-04-02 Thread Dan Muey
> On Wednesday, April 2, 2003, at 10:31 AM, Dan Muey wrote: > > > > > Like I said, a very informative happy thread! > > Peace to everyone!! I love all people, I just use Perl. I should say I use PHP as well so I'm not total PHP virgin! I use phpbb for some customers and it is quite sexxy! I ju

Problems with TEXT::CSV_XS

2003-04-02 Thread BK GOOD
The TEXT::CSV_XS module has problems parsing delimited files with funny characters, binary data or missing quotes. It will blank out the records. Does anyone know of another module for parsing delimited files that can handle this type of data? Thanks! Kristi -- To unsubscribe, e-mail: [EMAIL P

Re: Php perl?

2003-04-02 Thread George Schlossnagle
On Wednesday, April 2, 2003, at 10:31 AM, Dan Muey wrote: Like I said, a very informative happy thread! Peace to everyone!! I love all people, I just use Perl. Indeed. As I noted in my disclaimer, I use Perl as well (quite happily). They are both good languages, and they both have the toolset

RE: Php perl?

2003-04-02 Thread Dan Muey
> I have a PHP vs. Perl question for a hobby project of mine. Hobby not homework right? :) > Which would be the better language to use if I wanted to go > out to a particular web page and parse the table that's Don't know how you'd do it with PHP but with perl you could use LWP and HTML::Par

RE: Php perl?

2003-04-02 Thread Dan Muey
Like I said, a very informative happy thread! Peace to everyone!! I love all people, I just use Perl. I'm not really sure about the 'greater foothold' thing. Since yahoo is using it we'll never hear the end of that one! I'd agree with George : - they benchmark similar - depends

Re: Php perl?

2003-04-02 Thread scott . e . robinson
I have a PHP vs. Perl question for a hobby project of mine. Which would be the better language to use if I wanted to go out to a particular web page and parse the table that's there? How about if each row in the HTML table contains a link to another Web page which has information I want to grab?

RE: Php perl?

2003-04-02 Thread Dan Muey
One other thing for all you PHP fans (since it feels more like PHP) and you Perl folks too :: There's a project called Moto. http://www.projectmoto.org/ I ran into this when looking for a good mailing list archive. It's pretty cool, it's an apache module, mod_moto and is very much like PHP in ap

Re: Learning Perl

2003-04-02 Thread Andres L. Figari
try linuxguruz.org sometime ... they have links to some tutorials and such, not just perl. - Original Message - From: "Ohad Ohad" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, April 01, 2003 11:31 PM Subject: Learning Perl > hey, > > I guess this question came up several ti

Re: Learning Perl

2003-04-02 Thread Aim
> Hi, My advice is get Learning Perl and Programming Perl (and possibly Perl Cookbook). From my experience Learning Perl on its own is not enough. What you could do is buy the Perl CD Bookshelf- where you get the above 3 plus another 3 I think on CD-rom. My mate purchased one for a mere GBP 30.00

Re: Php perl?

2003-04-02 Thread George Schlossnagle
On Wednesday, April 2, 2003, at 09:52 AM, Dan Muey wrote: This is a cool thread. I'm glad everyone is staying so peaceful about It. That's another thing I don't like about PHP is that if I was having this discussion with a PHP person thet'd be insulting me for even considering something else. I

Re: Php perl?

2003-04-02 Thread Andres L. Figari
as a web server admin I like the way php is a lighter load on the server than perl is. Though some would disagree. I script little and use both ... - Original Message - From: "Paul Kraus" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, March 31, 2003 5:12 PM Subject: Php perl?

RE: Learning Perl

2003-04-02 Thread Dylan Boudreau
I would suggest the Perl Black Book by Steven Holzner -Original Message- From: Ramón Chávez [mailto:[EMAIL PROTECTED] Sent: April 2, 2003 10:15 AM To: [EMAIL PROTECTED] Subject: RE: Learning Perl Try purchasing a Book. O'Reilly would be good. After that you can go to : http://cgi.res

RE: Php perl?

2003-04-02 Thread Dan Muey
This is a cool thread. I'm glad everyone is staying so peaceful about It. That's another thing I don't like about PHP is that if I was having this discussion with a PHP person thet'd be insulting me for even considering something else. But with Perl everone's just saying, hey Perl does it's thing

RE: Learning Perl

2003-04-02 Thread Ramón Chávez
Try purchasing a Book. O'Reilly would be good. After that you can go to : http://cgi.resourceindex.com and download some free scripts and try them. You may try some tutorials on the web, but it's very important (at least in my experience) that you first begin with the hard introduction. After t

Re: Problem with script.

2003-04-02 Thread Aim
Hi, Having also spent all of yesterday on my problem, I can conclude that the script after all was working fine. I manually checked my input and output files and it seems that there is a bug elsewhere in some other script, many of which I did not write my self. Thanks to Mr Conner, Mr Weber, esp

Re: Project Management

2003-04-02 Thread Dennis G. Wicks
Greetings; Have you tried sourceforge.net? I just did a search there on "project management application" and got a lot of hits. Also, many of the things there are written in Perl and all are GPL'd or similar. Good Luck! Dennis On Tue, 1 Apr 2003, Paul Kraus wrote: > Date: Tue, 1 Apr 2003 16:4

Re: Learning Perl

2003-04-02 Thread Rob Anderson
Buy "Learning Perl" by O'Reilly, it's great. HTH, Rob "Ohad Ohad" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > hey, > > I guess this question came up several time already so a link will be fine. > > What is the best way to learn Perl for someone with very basic programming > sk

Re: Php perl?

2003-04-02 Thread Elias Assmann
On Tue, Apr 01, 2003 at 10:42:57PM -0800, R. Joseph Newton wrote: > Neither language is strongly typed, as C, Java, or VB are. Although > both are type-sensitive, they still restrict identifiers only by > contaiment class. Could you elaborate on that? What do you mean by "type-sensitive" and "re

Re: [mail_lists] Re: Php perl?

2003-04-02 Thread Jim
On Tuesday 01 April 2003 11:23, Adriano Allora wrote: This has been an interesting thread. Here's my take: I like them both but I prefer Perl. I use to say that Perl was best for application level stuff and PHP was best for web content related stuff. However, that kind of thinking is somewha

Re: [mail_lists] RE: Problem with script.

2003-04-02 Thread Jim
On Tuesday 01 April 2003 12:36, Tony Esposito wrote: | I am a strong proponent of the "top-down" approach.I feel it makes my | Perl code easier to read/follow. | I quote from "Learning Perl" that "[The subroutine] definition can go | anywhere in the program file, though | most people put it at

Re: [mail_lists] help on manipulating string length

2003-04-02 Thread Jim
On Tuesday 01 April 2003 20:47, you wrote: Alright...well first of all I hope this is just pseudocode.  Because a lot of it won't work at all. Follow along... | All, | | | | What I need is that if I was parsing some data and there is no value | (spaces) it should print * so that the next th

Re: use Pg;

2003-04-02 Thread R. Joseph Newton
jdavis wrote: > Hello, > I created 25 postgres databases by hand. Each with one small table. > All the databases are named like so... > > MY_DATA_0 > MT_DATA_1 etc.. > > When i use this code > > use Pg; > $conn = Pg::connectdb("dbname=MY_DATA_0"); > if ($conn->status != PGRES_CONNECTION_OK){

RE: Php perl?

2003-04-02 Thread Paul Johnson
Jenda Krynicky said: > From: Rob Richardson <[EMAIL PROTECTED]> >> My biggest complaint about Perl is the non-intuitive data structures. >> In C++ >> and Visual Basic, both of which I am employed to write programs in, >> this is very easy to write, and perhaps more important, it is very >> easy

Problem with XML::Parser

2003-04-02 Thread Keith Boynton
I am having some problems with the XML::Parser module. It is returning an error when passed some valid xml in the form of a string. The error it returns is: No element found at line 1, column 0 byte -1 This seems to suggest that the string is empty although if I print the string immediately prior

Re: [SLE] Project Management

2003-04-02 Thread Luis Angel Fernández Cuadrado
El Martes, 1 de Abril de 2003 23:46, Paul Kraus escribió: > Anyone have a link for a good project management tool. I do a variety of > tasks and would like a place to organize them for instance > > I want an app that will let me set a task (New Program) then allow my to > write out the description

Should I re-think this path?

2003-04-02 Thread Adriano Allora
Hi to all, I need to delete in a list of files, and in each file of newsgroups, all the posts which contents quoted lines. ONLY IF these lines are effectively repeating the non quoted text. At the end, I'm working on a single file in the directory, but the moment in which I have to work on a multi-

Re: Php perl?

2003-04-02 Thread Gary Stainburn
On Tuesday 01 April 2003 9:59 pm, Paul Kraus wrote: > Is one more efficient then the other. > > My hesitation with perl (I would like to use is as I already know the > language) is that coming from a windows environment perl scripts do not > like to run quickly and having a web server getting hamme