RE: What database would your recommend?

2002-06-07 Thread Joel Hughes
MySQL sounds like your answer Teddy. Runs perfectly well on Linux and Windows. -Original Message- From: Octavian Rasnita [mailto:[EMAIL PROTECTED]] Sent: 06 June 2002 03:59 To: [EMAIL PROTECTED] Subject: What database would your recommend? Hi all, I want to start learning a database t

Re: How to use a module depending on a condition (was: What am I doing wrong?)

2002-06-07 Thread Janek Schleicher
Octavian Rasnita wrote at Fri, 07 Jun 2002 05:00:33 +0200: > ... > The important code with problem is: > > if ($^O =~ /MSWin/i) { > print "The OS is: $^O"; > #This line is not printed because the OS is Linux but the following line has >problems > use Net::SMTP; > ... > How can I avoid Linux c

Re: Is it a bug in Perl?

2002-06-07 Thread Janek Schleicher
Octavian Rasnita wrote at Wed, 05 Jun 2002 14:18:42 +0200: > ... > Then I've seen one more error in that file: > Argument "\n" isn't numeric in numeric eq (==) at c:/Perl/lib/perl5db.pl line 572 > > That line is: > for ($i = $line + 1; $i <= $max && $dbline[$i] == 0; ++$i) { #{ vi > > Is t

Re: What database would your recommend?

2002-06-07 Thread David T-G
Teddy -- ...and then Octavian Rasnita said... % % Hi all, Hello! % % I want to start learning a database that works with Perl but I would like to % learn a database that works under Windows and Unix also. mysql is a lean, fast, excellent choice. I'm looking into the same sort of question,

Re: What database would your recommend?

2002-06-07 Thread fliptop
David T-G wrote: > mysql is a lean, fast, excellent choice. I'm looking into the same sort > of question, though, and have found that mysql is not relational (and > also takes some other shortcuts), and so if you just want *a* database > it's fine but if you want to learn on one so that you can

Strip Characters from a particular field

2002-06-07 Thread Fred Sahakian
Hi Folks, $value =~tr/+/ /; will remove the "+" from all the form fields and replace it with a space, how can I ask the program to remove the "+" from only ONE particular field? thanks!

Re: What database would your recommend?

2002-06-07 Thread Paul Arsenault
MySQL is a relational database. Taken from the mysql documentation page at http://www.mysql.org/documentation/mysql/bychapter/manual_Introduction.html#Features MySQL is a relational database management system. A relational database stores data in separate tables rather than putting all the dat

Re: How to blank out a form?

2002-06-07 Thread Fred Sahakian
I think what happends is that even though you place the blank field there, the text is still really there, try using the print command on the same page and take a look to see if it actually does erase the data or does it just erase it in the form text area, I had the same problem, I just let pe

Re: What database would your recommend?

2002-06-07 Thread Fred Sahakian
depends what you need to do, PHP has become VERY popular >>> "Octavian Rasnita" <[EMAIL PROTECTED]> 06/05/02 10:58PM >>> Hi all, I want to start learning a database that works with Perl but I would like to learn a database that works under Windows and Unix also. Is there such a thing? Of course

beginners-cgi@perl.org

2002-06-07 Thread kevin christopher
Janek: Thank you for explaining the difference between calling subroutines with vs. without the ampersand. I'm glad I'm on the beginners list. Sincerely, Kevin Christopher -- Original Message -- From: Camilo Gonzalez <[EMAIL PROTECTED]> Date: Thu, 6

RE: What database would your recommend?

2002-06-07 Thread Camilo Gonzalez
That's a good point. Are there still advantages to using Perl over using PHP? I'd be bummed to hear I'm using a dying language. -Original Message- From: Fred Sahakian [mailto:[EMAIL PROTECTED]] Sent: Friday, June 07, 2002 10:52 AM To: [EMAIL PROTECTED] Cc: < Subject: Re: What database wou

RE: What database would your recommend?

2002-06-07 Thread Fred Sahakian
99% of my databases have been small, so flatfile databases are fine, the Perl can handle it as well as the servers. When you get into hundreds of thousands of records, that's different-- then you need something stable, fast, and flexible. >>> Camilo Gonzalez <[EMAIL PROTECTED]> 06/07/02 11:56A

RE: What database would your recommend?

2002-06-07 Thread Nikola Janceski
Perl a dying language? are you nutz?!?!?! Haven't you been reading the Apocalypse pages for PERL 6??!?!? http://dev.perl.org/perl6/apocalypse/ apocalypse 1-4 http://www.perl.com/pub/a/2002/06/04/apo5.html apocalypse 5 (pattern matching will never be the same) I get a w**dy just thinking about

CGI::Graph --- description

2002-06-07 Thread Konrad Foerstner
Hi! I would like to write some scipts to produce plots and saw CGI::Graph is a good solution for that. The problem is that I can't find a good introduction or description of it in the web. Has anyone a good link for me? Thanks Konrad -- To unsubscribe, e-mail: [EMAIL PROTECTED] For addition

Re: What database would your recommend?

2002-06-07 Thread Gary Stainburn
Hi all, Having spoken to consultants/teachers that I know, their experience matches my own. When teaching, they prefer PHP. When programming they prefer Perl. It's basically horses for courses. I use PHP for what it's always been designed for which is creating dynamic web content. For appl

RE: What database would your recommend?

2002-06-07 Thread Camilo Gonzalez
Forgive me Nikola. In this business you need to stay as marketable as possible. I don't want to go to a potential employer with six years of Perl on my resume, to be beaten out by somebody with 2 years of PHP on theirs. -Original Message- From: Nikola Janceski [mailto:[EMAIL PROTECTED]]

RE: What database would your recommend?

2002-06-07 Thread Nikola Janceski
well.. I have 6 years Perl.. but I don't do web design, and no PHP programmer has been me out of a position yet. I am not shooting down PHP, but Perl has many many advantages over PHP, but PHP is better for DB access via a web front. But Perl is better at backend access and overall reporting (not

RE: What database would your recommend?

2002-06-07 Thread Mike Rapuano
Camilo -- If you've done any research at all you would know that learning perl will not make you less marketable. And if I were you, I would not "Marry myself" to one scripting language;) Mike -Original Message- From: Camilo Gonzalez Sent: Fri 6

RE: What database would your recommend?

2002-06-07 Thread Fred Sahakian
dont put your eggs in one basket, as they say... >>> "Mike Rapuano" <[EMAIL PROTECTED]> 06/07/02 12:24PM >>> Camilo -- If you've done any research at all you would know that learning perl will not make you less marketable. And if I were you, I would not "Marry myself" to one scripting language;

RE: What database would your recommend?

2002-06-07 Thread James Kelty
I would go for Postgres, if I were you. Relational, transactions, and foreign key assignments. May be a little slower than MySQL, but pretty much the same in stability. -James -Original Message- From: Octavian Rasnita [mailto:[EMAIL PROTECTED]] Sent: Wednesday, June 05, 2002 7:59 PM To:

[OT] Re: What database would your recommend?

2002-06-07 Thread John Brooking
Not to be pedantic, but isn't PHP a *language*, not a database? So you could use almost any particular database with either PHP or Perl. Or does PHP have it's own built-in database and that's what you meant? (I looked at PHP a little once, and I have to admit a knee-jerk negative reaction to a la

Re: [OT] Re: What database would your recommend?

2002-06-07 Thread David T-G
John, et al -- ...and then John Brooking said... % % Not to be pedantic, but isn't PHP a *language*, not a % database? So you could use almost any particular Yes, it is; it doesn't have its own database built in. For someone starting out doing web stuff it wouldn't be bad to pick up, even if i

Re: What database would your recommend?

2002-06-07 Thread David T-G
Paul -- Thanks for the reply. ...and then Paul Arsenault said... % % MySQL is a relational database. % % Taken from the mysql documentation page at % http://www.mysql.org/documentation/mysql/bychapter/manual_Introduction.html#Features % % MySQL is a relational database management system. Hm

webBotting a Job Hunt

2002-06-07 Thread drieux
volks, this is probably more an ethical question than a technical question - since over the plays here I have become better at reverse engineering what webServers want pushed at them in the way of URI by get or puts but is it kosher to reverse engineer how various public web sites do this j

RE: webBotting a Job Hunt

2002-06-07 Thread Nikola Janceski
Depends... there are those that don't know Perl, so I see nothing wrong with it unless you are using this for profitable purposes. Remember, if it's free, how is it wrong? If you think it's wrong that it is free, then help them make it less free. Linus idea, followed by Gates idea. I think this i

Re: webBotting a Job Hunt

2002-06-07 Thread David T-G
drieux, et al -- ...and then drieux said... % % volks, Hi! % % this is probably more an ethical question % than a technical question - since over the % plays here I have become better at reverse engineering % what webServers want pushed at them in the way of URI % by get or puts *grin*

Re: What database would your recommend?

2002-06-07 Thread David T-G
Paul, et al -- ...and then Paul Arsenault said... % % MySQL is a relational database. I've followed up and have more information -- sort of. My pal couldn't provide hard data but pointed not only to extra stuff like transactions (I don't think anyone is saying that transactions are part of wha

Re: webBotting a Job Hunt

2002-06-07 Thread Kevin Meltzer
Is any of this relevent to this list? I don't think so. Again, please stay on topic. Cheers, Kevin On Fri, Jun 07, 2002 at 10:51:57AM -0700, drieux ([EMAIL PROTECTED]) said something similar to: > > volks, > > this is probably more an ethical question > than a technical question - since over

Re: What database would your recommend?

2002-06-07 Thread Paul Arsenault
Relational databasing just means that there are keys associated between the different databases that allows the database software to easily make matches from one database table to another very quickly and efficiently. I don't know if you've ever heard the term "primary key" before, but it simp

Re: webBotting a Job Hunt

2002-06-07 Thread drieux
On Friday, June 7, 2002, at 11:38 , Kevin Meltzer wrote: > Is any of this relevent to this list? I don't think so. Again, please > stay on > topic. my apologies, I thought the ethics of using a given technology might be a relevant topic. Since in essence I am simply reusing the 'test harness'

Re: What database would your recommend?

2002-06-07 Thread fliptop
Paul Arsenault wrote: > database. As for transactions, only very high-end commercial databases > (such as your friend's Oracle) support transactions. They are only that's not true - postgresql supports transactions. and according to this page: http://www.mysql.com/doc/I/n/InnoDB_transacti

Re: CGI::Graph --- description

2002-06-07 Thread David T-G
Konrad -- ...and then Konrad Foerstner said... % % Hi! Hello! % % I would like to write some scipts to produce plots and % saw CGI::Graph is a good solution for that. The problem is % that I can't find a good introduction or description of % it in the web. Has anyone a good link for me? D

Re: CGI::Graph --- description

2002-06-07 Thread Konrad Foerstner
Yes, I had checked this befor, but I need more exmaples and introduction. On Fri, 7 Jun 2002 13:41:09 -0500 David T-G <[EMAIL PROTECTED]> wrote: > Konrad -- > > ...and then Konrad Foerstner said... > % > % Hi! > > Hello! > > > % > % I would like to write some scipts to produce plots a

Re: How to send an email without Net::SMTP

2002-06-07 Thread Eric Wang
Use Mail::Sendmail Eric On Wed, 5 Jun 2002, Octavian Rasnita wrote: > Hi all, > > Is it complicated to send email with an SMTP mail server if the Net::SMTP > module is not installed? > > Thank you. > > Teddy, > [EMAIL PROTECTED] > > > > -- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For add

Refresh dynamic content using query_string

2002-06-07 Thread Jason Ostrom
I was wondering if there was any way to refresh and have the same dynamically-created page viewed every 5 seconds? I'm trying to do it like this: my $URL2 = "ds0.cgi?$ENV{QUERY_STRING}"; ### HTML part print $q->header( -Refresh=>'5; URL=$URL2' ), But this doesn't work. The URL that is recreate

Re: Refresh dynamic content using query_string

2002-06-07 Thread David T-G
Jason -- ...and then Jason Ostrom said... % % I was wondering if there was any way to refresh and have the same % dynamically-created page viewed every 5 seconds? % % I'm trying to do it like this: % % my $URL2 = "ds0.cgi?$ENV{QUERY_STRING}"; % ### HTML part % print $q->header( -Refresh=>'5; U

Re[2]: Refresh dynamic content using query_string

2002-06-07 Thread Jason Ostrom
David, You are the man. That worked. Just when I was figuring out that this was a variable interpolation problem. I could use $URL4 instead of $URL2, and it still wasn't interepreted as a variable, and $URL4 wouldn't be "declared" anywhere in the program. Thanks man! -Jason David T-G> Jason

Re: webBotting a Job Hunt

2002-06-07 Thread Ovid
--- drieux <[EMAIL PROTECTED]> wrote: > > volks, > > this is probably more an ethical question > than a technical question - since over the > plays here I have become better at reverse engineering > what webServers want pushed at them in the way of URI > by get or puts > > but is it kosher

Am I doing something wrong?

2002-06-07 Thread Octavian Rasnita
Hi all, I use: =start; =cut I use this statement to comment out more lines. However, I have seen in Lama Book that there is no block comment in Perl. I thought this statement is used to comment more lines. What is this statement used for, and is it something wrong if I use it just for com

Using strict and a configuration file?

2002-06-07 Thread Octavian Rasnita
Hi all, Is it possible to use "use strict;" if I get the variables from a configuration file? I've tried: use strict; require "f:/xxx/config.txt"; #In the configuration file I have a line like my $test = "test test test"; print "Content-type: text/html\n\n"; print $test; This gives me an err

Sorting a hash by values?

2002-06-07 Thread Octavian Rasnita
Hi all, I want to make a script that sorts the values from a hash. I want to make a "top with the most downloaded files". I know how to sort the hash by keys but I couldn't sort it by values. I have a hash like: %hash = ( file1 => 3, file2 => 11, file3 => 6, fileN => 22 ); I would like

RE: Am I doing something wrong?

2002-06-07 Thread Scot Robnett
What you are doing is not commenting; you're creating POD documentation. To comment out lines in Perl, use the # character. #!/usr/bin/perl -w print "Hello, world! \n"; # This is a comment where you # can write about what you're # doing in a particular block # so other programmers won't # be co