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
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
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,
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
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
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
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
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
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.
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
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
LWP::Parallel is a good starting place.
ok I will have a look at that that module
thank you mr Schwartz !
yannick serra
SchlumbergerSema
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
I want to use Image::Size on my site but my Server doesn't have it installed.
I've been waiting for them to install it.
##
But the reply I recieved from them was :
Could you please explain in detail regarding the module Image::Size, I am
little bit confused about the
Hi,
is it possible to have a perl script sending e-mail with attachment without
using MIME::Lite since most host don't have MIME::Lite.?
Regards
Anthony
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
I was reading and came across this code:
I put the contents of Image-Size-2.98 under the Image directory.
use lib qw(/home/yrkylady/www/cgi-bin/perl/Image);
eval(use Image::Size 2.98;);
(print(Error: $), exit(-1)) if $;
And when I try to open my file I get this error:
Error: Can't locate
Hi
I want to use Image::Size on my site but my Server doesn't have it
installed.
Place the module wherever you like (and have permission) eg,
/home/your/cgi-bin/modules
You can then tell perl to look for modules in that localtion with the
following:
#!/usr/bin/perl
use lib
From: [EMAIL PROTECTED]
I was reading and came across this code:
I put the contents of Image-Size-2.98 under the Image directory.
use lib qw(/home/yrkylady/www/cgi-bin/perl/Image);
eval(use Image::Size 2.98;);
(print(Error: $@), exit(-1)) if $@;
And when I try to open
On Wed, 20 Mar 2002 13:07:56 +0100, [EMAIL PROTECTED] (Anthony) wrote:
is it possible to have a perl script sending e-mail with attachment without
using MIME::Lite since most host don't have MIME::Lite.?
You could try this script
#
On Wed, 20 Mar 2002 08:55:11 -0500, zentara [EMAIL PROTECTED] wrote:
On Wed, 20 Mar 2002 13:07:56 +0100, [EMAIL PROTECTED] (Anthony) wrote:
is it possible to have a perl script sending e-mail with attachment without
using MIME::Lite since most host don't have MIME::Lite.?
You could try this
At 09:50 AM 3/19/2002 -0500, Tim Musson wrote:
Thanks to all who sent pointers!
Here is my code before I put it up as a web page tool (and clean it up
and comment it g).
comments/suggestions anyone?
#!perl -w
use strict;
use diagnostics;
my $debug = yes;
my (@mac);
my $mac = 0123 6789 cdef;
Hello I have redhat 7.1 and mysql , I am trying to query DB of People
if there is no record for this person , I want to add them . My problem
seams to be what is in query results with it comes back blank
here is the code
$dbh1 =DBI -connect($data_source, $username, $password) or die cant
Hanson, Robert wrote:
How do I CREATE a database from within perl with MySQL?
I don't think you can... but you can run the mysql interface from the
script. Actually I think that you can pipe a list of commands to mysql.
Rob
If you can get a connection with proper permissions, all you need
I may be off on this, but this sounds like a sql issue. The record count
being returned is 0 so check on the record count, not if client eq null.
-Original Message-
From: FLAHERTY, JIM-CONT [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, March 20, 2002 10:55 AM
To: Beginners (E-mail)
I have an old Votrax Type N Talk text-to-speech synthesizer, circa 1982.
It connects to a serial port and will accept text strings changing them to
speech. I want to experiment with the unit by connecting it to a serial port
on my Linux server and send text strings to it via a web page fronting
Gents,
Can perl check if a port is up, and if that port immediately exists if
you try to connect to it?
For example:
I have a program running on port 8000. If you telnet to the port (8000),
you'll see 'connected to'.and telnet will exist immediately...
if that happens then perl
Hello there,
I'm using MIME::Lite to send E-mails out that are generated from a Perl
script.
I seem to be having problems with the date field. When I hard code a
date into
the message e.g.
$msg = new MIME::Lite
From= $from,
To = $to,
Date=
perhaps you need to single quote the $msg value to prevent interpolation?
there are slashes in there, for instance.
you might test without the slashes in $msg.
On Wednesday, March 20, 2002, at 09:26 AM, Mace, Richard wrote:
Hello there,
I'm using MIME::Lite to send E-mails out that are
I'm trying to process a list like so:
foreach (photoshare, mmc, popline, popline/www, popline/db,
netlinks) {
$aoutpath = /usr/local/httpd/htdocs/webstats/$_/$$MM;
mkdir($aoutpath) unless (-e $aoutpath);
print Can't write $aoutpath.\n unless (-w $aoutpath);
That did the trick thankyou!
My new web hosting service at oneononeinternet.com doesn't have error logs
for each site. What do I do?
Is there a way for me to create my own logs for my perl files?
On 3/20/02 11:05 AM, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
My new web hosting service at oneononeinternet.com doesn't have error logs
for each site. What do I do?
Is there a way for me to create my own logs for my perl files?
You could redirect STDERR like this...
From: Michael Kelly [EMAIL PROTECTED]
On 3/20/02 11:05 AM, [EMAIL PROTECTED] [EMAIL PROTECTED]
wrote:
My new web hosting service at oneononeinternet.com doesn't have
error logs for each site. What do I do?
Is there a way for me to create my own logs for my perl files?
You could
From: KEVIN ZEMBOWER [EMAIL PROTECTED]
I'm trying to process a list like so:
foreach (photoshare, mmc, popline, popline/www, popline/db,
netlinks) {
The loop control variable (the variable through whichyou access the
values in the array you loop over) is actualy an ALIAS to the
list/array
I'm trying to process a list like so:
foreach (photoshare, mmc, popline, popline/www, popline/db,
netlinks) {
...
s#/#.#g;
system($apath/analog -m +g${acfgpath}/${_}.analog.cfg
+F$YY${MM}01 +T$YY${MM}31 +O${aout
path}/index.html);
} #end for each
From: Mace, Richard [EMAIL PROTECTED]
I'm using MIME::Lite to send E-mails out that are generated from a
Perl script. I seem to be having problems with the date field. When I
hard code a date into the message e.g.
$msg = new MIME::Lite
From = $from,
To = $to,
Date =
[EMAIL PROTECTED] [[EMAIL PROTECTED]] quoth:
*
*It would be nicer if I knew how to put Image::Size or any other module I want
*in my own cgi-bin.
*How do I make perl find the modules I upload?
http://www.cpan.org/misc/cpan-faq.html#How_install_private
e.
--
To unsubscribe, e-mail: [EMAIL
I have a problem. The code below creates the error below. I can't see what
is wrong with it. I could of swore this code used to work.
Any ideas?
use GD;
use LWP::Simple;
use strict;
### GET IMAGE ATTRIBS
.. bunch of code that gets an image off the web and writes it to disk
successfully ..
Thank you, David, Jenda and Kate for explaining this so clearly. I would
have had trouble understanding this on my own. Your explanations were
very easy to grasp.
I think I found what you're talking about on page 118-119 of
Programming Perl 3, although this point seems very subtle. Is there
i have a cgi page that allows users to signup for my webmail service, but
submitin info to a form that writes to a textfile. I need to get the
username after it is submitted, and check it against existing system
usernames (/etc/passwd) and sendmail virtual usernames. is this possible?
if so,
Hi,
I am very new to perl. I am writing a script that is supposed to open an html file and
do some various tasks then later on it should print out the html file. I am having
problems with one portion of it. I distilled it down to this code snippet
==
#
It's probably because the of the file path. Try specifying the whole path
to see if it works.
Regards,
Agustin Rivera
Webmaster, Pollstar.com
http://www.pollstar.com
- Original Message -
From: Eric Preece [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, March 20, 2002 1:52 PM
From: Eric Preece [EMAIL PROTECTED]
I am very new to perl. I am writing a script that is supposed to open
an html file and do some various tasks then later on it should print
out the html file. I am having problems with one portion of it. I
distilled it down to this code snippet
[EMAIL PROTECTED] [[EMAIL PROTECTED]] quoth:
*My new web hosting service at oneononeinternet.com doesn't have error logs
*for each site. What do I do?
*
*Is there a way for me to create my own logs for my perl files?
You probably would benefit from buying
Finally worked this one out. There was a version problem. We were tasked
to use the version of PERL in NTReskit (5.0.0.1). It does not work with any
variation that we came up with or with the ones that this group suggested
(thanks!) We have decided to install the stable release and then run
Hi!
Im a New User to Perl.
Ive got Equipped with me a book called Begining Perl
by Simon Cozens, its honeslty an Quite an Good Buy!
However, after installing Perl from ActiveState,
(for Windows) and creating myFirst Hello World
Program, im COMPLETELY unable to run it!
However, when tried on
I don't see an attachment. Howefver I can give you a few tips to make sure
your ActiveState is installed correctly and to launch your script.
1) The #!/usr/bin/perl(or something) line won't do anything in Windows.
Make sure that your scripts have a .pl extension, otherwise Windows
won't
Can anyone think of a good way for me to find out what the date of last
sunday is with perl? I'm writing a script that will need to do some
basic reporting starting from the previous sunday.
I'm usign the date format -MM-DD
Any help appreciated!
Thanks,
rory
--
To unsubscribe, e-mail:
Hi Tim!
ThankQ for the Quick reply!
i was unable to send the Attachment due to its Size
However, i would like to Confirm yes it has that
i)YES it has a Yellow Perl icon!
my file is called hello1.plx is that ok.. even if i
have placed the default..?!
or should i go to explorer and
On Mar 20, rory oconnor said:
Can anyone think of a good way for me to find out what the date of last
sunday is with perl? I'm writing a script that will need to do some
basic reporting starting from the previous sunday.
I'm usign the date format -MM-DD
I suggest the standard Time::Local
Hi!
Ive got two different Perl icons now.
One Big Perl and another a small perl against a paper
backdrop..
the MSDOS program does run, However its a split second
thing its zips in front of the eye and disappears..
Please Advise.
MaLs..
--- Michael Gargiullo [EMAIL PROTECTED] wrote:
I
The Date::Manip module can do almost anything you can think of with dates:
http://search.cpan.org/doc/SBECK/DateManip-5.40/Manip.pod
Have fun,
Matt
--- rory oconnor [EMAIL PROTECTED] wrote:
Can anyone think of a good way for me to find out what the date of last
sunday is with perl? I'm
If you want to see the output, then you should run your script from a
command prompt window. If you double-click on it, it will probably go by
too quick to read. And yes, I would recommend sticking to .pl extension. I
can't remember exactly what .plx is for.
-Original Message-
From:
Do you try your script at Browser or at DOS prompt ?
If you are dealing with browser, check if the #!C:/Perl/bin/perl.exe ( or
other)
parameter is set correctly, and if print Content-type:text/html \n\n
applied.
Of cause, your server setting should also account to your config
If you are dealing
All,
I have a one big text file and also I have some set of strings to be
replaced by another set of strings. Currently, I am reading each line of
the file, and replacing one set of strings by another set of strings,
one after another. Is there any efficient way of doing this? The data is
so
On Mar 20, rory oconnor said:
On Wed, 2002-03-20 at 22:30, Jeff 'japhy' Pinyan wrote:
On Mar 20, rory oconnor said:
Can anyone think of a good way for me to find out what the date of last
sunday is with perl? I'm writing a script that will need to do some
basic reporting starting from the
hi guys,
I'm very new to perl.
Ok, let's assume that I have a file named *user.txt* contained with my user
name :
donna
maria
karina
..
..
..
etc
I want to make a file for each of them. The file name and the content should
contained with their names, eg. .qmail-donna, .qmail-maria and
Hey Gregor,
I use something similar on my box (I use qmail too). This should do what you
want it to.
#!/usr/bin/perl -w
use strict;
my @users = qw/ donna maria karina /;
foreach my $line (@user){
open OUT, /path/to/dir/.qmail-$line or die $!;
print OUT |/usr/local/blah
You can use probably a number of different modules, but just some simple Perl
processing can do the work for you:
use Time::Local;
#
# Put date here, need to subtract one from Month for use in timelocal
# Can leave year at 4 digits or take down to 3 digits(ie, 1900 from 4 digit)
#
my
At 10:11 PM 3/20/02 -0600, rory oconnor wrote:
Can anyone think of a good way for me to find out what the date of last
sunday is with perl? I'm writing a script that will need to do some
basic reporting starting from the previous sunday.
I'm usign the date format -MM-DD
$ perl
Thank you a lot Luke, it worked.
Now there's something else, how do I tell perl to open a file where the
/path/to/dir contained with $line?
such as :
open OUT, /path/to/$line/dir/.qmail-$line or die $!;
regards,
gregor
listperl writes:
Hey Gregor,
I use something similar on
60 matches
Mail list logo