Learning Perl

2003-02-28 Thread debraj bhattacharyya
Hi all

I have started learning perl language and to this effort I have bought the book 
programming perl from O\'Reilly .Can anyone tell me whether this one is okay and how 
to exactly go forward learning perl.What things to be learnt first etc.

Any help is g8ly appreciated.
Thanks and regards 
debraj

-
Sify Mail - now with Anti-virus protection powered by Trend Micro, USA.
Know more at http://mail.sify.com

Sify Power mail- a Premium Service from Sify Mail!
know more at http://mail.sify.com

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: How much is too much

2003-02-28 Thread CraigD
On Thursday 27 February 2003 08:43 am, you wrote:
 I write MacPerl at work to munge local files but use CGIs for my personal
 website. The various hosting plans I have allow Perl and I have never had a
 problem with them. I am starting a new, more CGI-intensive project and I'm
 troubled by the question how much PERL is too much. Bandwidth can be
 metered, but I haven't seen hosters who meter processor time. Instead they
 make vague statements about removing inappropriately-greedy scripts.

 Does anyone know how hosting companies really approach this issue? Are
 there CGI-friendly hosters? Do scripts and accounts get pulled all the
 time, or is this not something to worry about. Can I start calculating pi
 now?

 Thanks,
 Tim

I have another vote for he.net Those guys are great.

Using the prefix modifier you can install any version of perl you like in 
your own web space. Also if there is a  module you would like to use i.e. I 
use DBD::Xbase, you can install that in your virtual web space and all will 
be well with the hosting service, the perl gods, and anybody else that has 
any opinion.

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Learning Perl

2003-02-28 Thread WilliamGunther
In a message dated 2/28/2003 5:28:56 AM Eastern Standard Time, 
[EMAIL PROTECTED] writes:


 I have started learning perl language and to this effort I have bought the 
 book programming perl from O\'Reilly .Can anyone tell me whether this one 
 is okay and how to exactly go forward learning perl.What things to be 
 learnt first etc.
 

I think Programming Perl is good for learning. There is a book also called 
Learning Perl from O'Reilly, but really I don't feel there is a suitable 
enough reason to pay a lot of money for it, especially since you have 
Programing Perl already. Programming Perl is very detailed, and reading that 
book should teach you a lot of perl. Talking to other Perl Programmers is 
important too. The most important thing is progressive practice. 

As this is a CGI mailing list, I thought I'd mention that the book I began 
learning off of was Perl and CGI for the World Wide Web: Visual Quickstart 
Guide by Castro. I thought is was good, it taught me the basics. I was just 
some web designer that wanted to learn some Perl. After than one I read 
Programming Perl, I did not buy it though, I went to the library. 

William


RE: Learning Perl

2003-02-28 Thread Robert Wideman
 Perl and CGI for the World Wide Web: Visual Quickstart Guide by Castro.

So true.  I agree on this.  I personally got the Perl: A Beginners Guide
but I like how the Visual Quickstart Guides are done, except they are done
on an old Mac box from the mid-90's.  Other than that i love the Visual
Quickstart Guides.  I personally like using a Quickstart Guide or Beginners
Guide and then jump straight to the reference manuals and web tutorials.
There are a lot of web tutorials out there and they are good too.  Just my 2
cents.

Rob


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Learning Perl

2003-02-28 Thread Roger
both of these options are great.  but I'll tell you what I did. I bought a
copy of the perl cd bookshelf on www.half.com that's the first one not the
second one.  Learning Perl 2nd Edition is on the cd along with perl in a
nutshell, Programming Perl, 2nd edition, Perl Cookbook, Advanced Perl
Programming and Learning Perl on Win32 Systems...  It is an awesome resource
if you don't mind reading on your computer.  its a great resource for anyone
serious about perl.



- Original Message -
From: fliptop [EMAIL PROTECTED]
To: Randal L. Schwartz [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Friday, February 28, 2003 6:28 AM
Subject: Re: Learning Perl


 On 28 Feb 2003 at 05:31, Randal L. Schwartz opined:

 RLS: WilliamGunther == WilliamGunther  [EMAIL PROTECTED]
writes:
 RLS:
 RLS:WilliamGunther I think Programming Perl is good for learning. There
 RLS:WilliamGunther is a book also called Learning Perl from O'Reilly, but
 RLS:WilliamGunther really I don't feel there is a suitable enough reason
 RLS:WilliamGunther to pay a lot of money for it, especially since you
 RLS:WilliamGunther have Programing Perl already.
 RLS:
 RLS:There are some who would disagree here. :)
 RLS:
 RLS:Buy a copy of Learning Perl.  If it's the money you're concerned
 RLS:about, borrow a copy, or buy a copy and resell it.  We worked hard to
 RLS:design Learning Perl to be the best book to spend your first 30-40
 RLS:hours while learning the language, no matter where you will be using
 RLS:Perl eventually.

 i have to agree with randal here - programming perl is a reference
 textbook, and probably isn't the best choice to help you learn how to
 write perl programs in a step-by-step fashion.  learning perl, otoh, was
 written specifically for this purpose, and toward that end is a much
 better resource.

 i recently donated my copy of learning perl to my local library, so that
 could be another option for you to obtain it without paying (if desired).


 --
 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: Learning Perl

2003-02-28 Thread drieux
On Friday, Feb 28, 2003, at 00:41 US/Pacific, debraj bhattacharyya 
wrote:
[..]
What things to be learnt first etc.


amongst the problems is where are you coming from?

if you are new to programming in general, then having
the learning perl will help you over both hurdles at once.
There is a [EMAIL PROTECTED]mailing list that
is specifically aimed at general perl beginning questions.
If you are coming from a 'c' or 'c++' background,
then most of the general syntax will map easily onto
what you already know about programming.
Either way you will also want to become fast friends with

	perldoc perl

since perl offers a lot of internal documentation.

I saved off some of the basic perl web sites at:
http://www.wetware.com/drieux/pbl/perldoc/
At which point you will also want to pick up books like

a. CGI Programming with perl
b. Dynamic HTML - the definitive reference
c. JavaScript The Definitive Guide
since you will find that understanding HTML will be very
useful, and that there are times when you will want your
perl cgi code to generate javascript stuff...
ciao
drieux
---

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Learning Perl

2003-02-28 Thread Randal L. Schwartz
 WilliamGunther == WilliamGunther  [EMAIL PROTECTED] writes:

WilliamGunther I think Programming Perl is good for learning. There
WilliamGunther is a book also called Learning Perl from O'Reilly, but
WilliamGunther really I don't feel there is a suitable enough reason
WilliamGunther to pay a lot of money for it, especially since you
WilliamGunther have Programing Perl already.

There are some who would disagree here. :)

Buy a copy of Learning Perl.  If it's the money you're concerned
about, borrow a copy, or buy a copy and resell it.  We worked hard to
design Learning Perl to be the best book to spend your first 30-40
hours while learning the language, no matter where you will be using
Perl eventually.

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
[EMAIL PROTECTED] URL:http://www.stonehenge.com/merlyn/
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



email adress eq email adress?

2003-02-28 Thread Ian Vännman
Hello List!
First post for this newbie. I'm writing a CGI that connects to a CommuniGate
Pro server and gets a list of the lists on the server. Then it gets a list
of all the subscribers on each list, comparing each adress to one input
using a form ($Account). Whenever it finds a match it makes the checkbox
checked. The problem I'm having is comparing email-adresses:

if ($_ eq $Account) {
Make the checkbox checked here...
}

$_ may be [EMAIL PROTECTED] and $Account may be
[EMAIL PROTECTED], but they don't match because @aftonbaldet is
treated as an array. How do I get the eq to ignore the @?

TIA
/Ian


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



premature end of script headers

2003-02-28 Thread fudge714
when running my script from the command line, it generates the html fine, however when 
I upload it to my hosters' server (apache on linux), I get an internal server error. 
when checking the log, I find:

premature end of script headers and no such file or directory

I have uploaded in ASCII, included the html header with the two newlines following, 
set the correct permissions for the file and its folder, used UNIX line endings, the 
syntax is correct (running it with the -c flag on the command prompt tells me it is 
fine). 

I have a simple 'hello world' script on the server and this one works fine.

the script reads from two files, a functions.lib and a text database. they are both 
located in the same folder and have their permissions set to 644

I don't know what else it could be and am starting to go crazy here.

please help (thanks in advance)

rachel


i figured it out

2003-02-28 Thread fudge714
thanks for the help I probably would have gotten, but I figured it out, I was missing 
the first slash in my shebang line.
rachel

Re: Learning Perl

2003-02-28 Thread fliptop
On 28 Feb 2003 at 05:31, Randal L. Schwartz opined:

RLS: WilliamGunther == WilliamGunther  [EMAIL PROTECTED] writes:
RLS:
RLS:WilliamGunther I think Programming Perl is good for learning. There
RLS:WilliamGunther is a book also called Learning Perl from O'Reilly, but
RLS:WilliamGunther really I don't feel there is a suitable enough reason
RLS:WilliamGunther to pay a lot of money for it, especially since you
RLS:WilliamGunther have Programing Perl already.
RLS:
RLS:There are some who would disagree here. :)
RLS:
RLS:Buy a copy of Learning Perl.  If it's the money you're concerned
RLS:about, borrow a copy, or buy a copy and resell it.  We worked hard to
RLS:design Learning Perl to be the best book to spend your first 30-40
RLS:hours while learning the language, no matter where you will be using
RLS:Perl eventually.

i have to agree with randal here - programming perl is a reference
textbook, and probably isn't the best choice to help you learn how to
write perl programs in a step-by-step fashion.  learning perl, otoh, was
written specifically for this purpose, and toward that end is a much
better resource.

i recently donated my copy of learning perl to my local library, so that
could be another option for you to obtain it without paying (if desired).


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Help me about DBM file

2003-02-28 Thread lielie meimei
Hi... me is still newbie..

Would u help me to explain:
1. How the DBM file work??
2. How to delete all data in a DBM file?
3. What can i do with the *.dir and *.pag file that
DBM produce???, because if i open the *.dir and *.pag
file, it's text not clear to read.
4. What is the use of *.dir and *.pag file??


 Please help me explain complete about the DBM file, 
because i don't have complete tutorial and reference.

If u have the url of complete tutorial DBM ..give to
me please...:)


Thanks for your help.

Lielie

__
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]