Camel Book
Hi all, I heard about that famous Camel Book for Perl but I don't know its real name. Please tell me if you know. Thank you. Teddy, My dear email address is [EMAIL PROTECTED] _ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Camel Book
i'd imagine it'll be an o'reilly book - all their books have some kind of animal on the front. -Original Message- From: Octavian Rasnita [mailto:[EMAIL PROTECTED]] Sent: 20 March 2002 12:29 To: [EMAIL PROTECTED] Subject: Camel Book Hi all, I heard about that famous Camel Book for Perl but I don't know its real name. Please tell me if you know. Thank you. Teddy, My dear email address is [EMAIL PROTECTED] _ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.338 / Virus Database: 189 - Release Date: 14/03/02 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.338 / Virus Database: 189 - Release Date: 14/03/02 -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Camel Book
The one you seek is called Programming Perl and is indeed an O'Reilly book. However, if you're new to programming you may want to consider first reading Learning Perl which has a gentler learning curve. -Original Message- From: matt stewart [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 20, 2002 8:33 AM To: [EMAIL PROTECTED] Subject: RE: Camel Book i'd imagine it'll be an o'reilly book - all their books have some kind of animal on the front. -Original Message- From: Octavian Rasnita [mailto:[EMAIL PROTECTED]] Sent: 20 March 2002 12:29 To: [EMAIL PROTECTED] Subject: Camel Book Hi all, I heard about that famous Camel Book for Perl but I don't know its real name. Please tell me if you know. Thank you. Teddy, My dear email address is [EMAIL PROTECTED] _ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.338 / Virus Database: 189 - Release Date: 14/03/02 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.338 / Virus Database: 189 - Release Date: 14/03/02 -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Camel Book
On Wed, 20 Mar 2002, Octavian Rasnita wrote: I heard about that famous Camel Book for Perl but I don't know its real name. The full name is _Programming Perl_, by Larry Wall, et al. It's an O'Reilly book and can be found in any bookstore that has a computer section. -- Brett http://www.chapelperilous.net/ Reality does not exist -- yet. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DBI w/ DBD:ODBC vs DBI w/ DBD:mysql
I am new to Perl DBI programming But it is fairly simple.. I am using both Mysql 3.23.44nt and 3.23.43 Linux..as well as PostgreSQL 7.1 Linux and on WinXP on Cygwin. Perl on Linux was straight forward but the Perl on WIn is a bit Different. I ran a simple script to insert records in a table as test and it worked but I am unsure that the WinXP install of Perl and DBI is correct that is do I have the correct modules in place. Should I be running the date through a DBD:ODBC or a DBD:mysql. Below is my PPM query to my Perl Package Manager: Settings\bobby\Application Data\ActiveState\ActiveState.lic' is present. ppm query DBI Querying target 1 (ActivePerl 630) 1. DBI [1.14] Database independent interface for Perl 2. DBIx-AnyDBD [1.98] DBD independant class 3. DBIx-Easy [0.10] Easy to Use DBI interface ppm query DBD Querying target 1 (ActivePerl 630) 1. DBD-ODBC[0.28] ODBC driver for the DBI module. 2. DBIx-AnyDBD [1.98] DBD independant class ppm My test Perl Script... #!/perl/bin/perl -w use DBI; my $dbh = DBI- connect( DBI:mysql:Meet_A_Geek, bobby, bobby) or die Can't connect; # Insert the values $dbh-do(INSERT INTO customers (First_Name, Last_Name) VALUES ('Renee', 'Robertson')); $dbh-do(INSERT INTO customers (First_Name, Last_Name) VALUES ('Larry', 'Isacson')); $dbh-do(INSERT INTO customers (First_Name, Last_Name) VALUES ('Mark', 'Harrison')); # Disconnect from the database $dbh-disconnect; exit; AND Lastly... When I replace the first 7 lines like so... I get a failure #!/perl/bin/perl -w use DBI; $database = Meet_A_Geek; $driver = DBI:mysql; my $dbh = DBI- connect( $driver:$database, bobby, bobby) or die Can't connect; The error referred to database not being quoted but then after I used the first script to establish a connection the second script worked??? Sorry for the multiple questions ..Can anyone Help.. Bob T.
Client-Side Exec Of Perl
Ignoring security issues, is there a way to have a CGI-generated form invoke a Perl script on the Client? The Client requested data from the server and a CGI script there created the data and sent it back on a form. Would like to invoke a Perl Script to create a graph from the supplied data. I know JavaScript can be invoked, but would like to stay in Perl. It would be acceptable for the user to click a button to trigger/drive the invocation. Thanks, Hew -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Mail::POP3Client
Hi all, I try to make a script for downloading the messages from a POP3 server. I tried to use Mail::POP3Client but I've noticed that I don't have it installed. I don't have Mail::Folder either. Do you know where can I download this modules? Thank you. Teddy, My dear email address is [EMAIL PROTECTED] _ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Mail::POP3Client
If you are on Windows, use PPM to install the modules. C:\ ppm PPM interactive shell (2.1.5) - type 'help' for available commands. PPM install Mail::POP3Client If you are on *NIX, you can either download the .tar.gz file(s) off CPAN and make/make install them manually, or you can use the CPAN module: perl -MCPAN -e shell cpan shell -- CPAN exploration and modules installation (v1.50) ReadLine support enabled cpan install Mail::POP3Client If you want to get info on the module before you install it: cpan readme Mail::POP3Client Scot Robnett inSite Internet Solutions [EMAIL PROTECTED] -Original Message- From: Octavian Rasnita [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 20, 2002 10:57 AM To: [EMAIL PROTECTED] Subject: Mail::POP3Client Hi all, I try to make a script for downloading the messages from a POP3 server. I tried to use Mail::POP3Client but I've noticed that I don't have it installed. I don't have Mail::Folder either. Do you know where can I download this modules? Thank you. Teddy, My dear email address is [EMAIL PROTECTED] _ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.333 / Virus Database: 187 - Release Date: 3/8/2002 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.333 / Virus Database: 187 - Release Date: 3/8/2002 -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Camel Book
On 3/20/02 4:29 AM, Octavian Rasnita [EMAIL PROTECTED] wrote: Hi all, I heard about that famous Camel Book for Perl but I don't know its real name. Please tell me if you know. Thank you. Teddy, Programming Perl, by Larry Wall, Tom Christiansen, and Jon Orwant. http://www.oreilly.com/catalog/pperl3/ -- Michael -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: existing username
use CGI; my $q = new CGI; my $formfield1=$q-param('username') my $formfield2=$q-param('password') #INITIALIZE HASH OF FORM VARIABLES my %params = $q-Vars; open (FILE, $filename) || die No such file\n; my @data=FILE; close (FILE); foreach my $i (@data) {chomp($i); my ($username,$password)=split(/\|/,$i); if ($formfield=~$username) {print } else {print } } how can i make a script check whether a variable equals an existing system username or not? the script does not run as root, it is a webpage. -- Matthew Harrison Internet/Network Services Administrator Peanut-Butter Cheesecake Hosting Services Genstate www.peanutbuttercheesecake.co.uk -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- --- - Teresa Raymond - - Mariposa Net - - http://www.mariposanet.com - --- -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re :Camel Book
Hi Teddy, Want an HTML version of Programming Perl Second version (Free) . Sunish ;-) - Original Message - From: Michael Kelly [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, March 21, 2002 12:39 AM Subject: Re: Camel Book On 3/20/02 4:29 AM, Octavian Rasnita [EMAIL PROTECTED] wrote: Hi all, I heard about that famous Camel Book for Perl but I don't know its real name. Please tell me if you know. Thank you. Teddy, Programming Perl, by Larry Wall, Tom Christiansen, and Jon Orwant. http://www.oreilly.com/catalog/pperl3/ -- Michael -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]