I am also a beginner and wondering if there are any other recommended
books other than the camel book from O'Reilly.  I have been asked to
display information from the Oracle Database on the web using Perl and
CGI.  So far, I mostly know how to check for patterns.  Gulp!!

Thanks for any input.

Olivier

>-----Original Message-----
>From:  Paul [SMTP:[EMAIL PROTECTED]]
>Sent:  Wednesday, May 02, 2001 2:05 PM
>To:    n6tadam; [EMAIL PROTECTED]
>Subject:       Re: I am a real begginer to perl......
>
>
>--- n6tadam <[EMAIL PROTECTED]> wrote:
>> Dear All,
>> 
>> I wonder if someone could help me. I have been programming in bash
>> for years
>> now, but I have decided that I would like to use perl.
>> 
>> My question is: "how do I tell perl to open a file for reading, do
>> various commands, and then output those changes to a new file"???
>
>lol -- you'll have to be more specific.
>My best suggestion is that you just sit down with perldoc perlfunc and
>look for commands like open() that look useful to the task at hand. 
>
>For examples, to open a file for reads,
> open F1, $file or die $!;
>then read a line from it with
> $line = <F1>;
>
>"do various commands" is horribly vague. Perl is often called a
>"scripting language", but in though it's convenient code like bash,
>it's probably functionally closer to C. It's a high level language,
>complete with bit operators and anonymous memory allocation and complex
>data structures. Assuming editing, though, try opening the file as
>above, and just printing your results to STDOUT, which you can direct
>as you like from the command line. i.e., once $line is edited to your
>liking, just
>  print $line;
>
>then you can use standard bash command-line redirection of output and
>error messages as you're already wont to do. =o)
>
>Paul
>
>> Thanks in Anticipation,
>> Regards,
>> 
>> Thomas Adam
>> 
>> 
>> Please note that the content of this message is confidential between
>> the original sender and the intended recipient(s) of the message. If
>> you are not an intended recipient and/or have received this message
>> in error, kindly disregard the content of the message and return it
>> to the original sender.
>> 
>> If you have any complaints about this message please reply to:
>>        [EMAIL PROTECTED]
>> 
>> The Purbeck School E-Mail server running:
>>        users.purbeck.dorset.sch.uk
>> 
>
>
>__________________________________________________
>Do You Yahoo!?
>Yahoo! Auctions - buy the things you want at great prices
>http://auctions.yahoo.com/

Reply via email to