Re: Beginner needs help



On 6/27/07, Chas Owens <chas.owens@xxxxxxxxx> wrote:
On 6/27/07, Rick <rbw940@xxxxxxxxx> wrote:
> Ok so the boss wants me to create two scripts in perl and I don't even
> know where to begin.
>
> One is to copy a log file to a backup server every hour.
>
> And the second is to restore the backup from one server from the
> previous night to the backup server every morning.
>
> Any ideas on where to start would be greatly appreciated.
snip

A lot depends on your knowledge of Perl. Given that you have no idea
where to begin I assume you know nothing. Run out and buy Learning
Perl. Read the first few chapters and then take a look at Net::FTP*
or Net::SCP*. If you still have questions how things work then post
them with the code you are trying to make work to the list.

* http://search.cpan.org/~gbarr/libnet-1.21/Net/FTP.pm
* http://search.cpan.org/~ivan/Net-SCP-0.07/SCP.pm



Specifically chapters 2 Scalar Data, 4 Subroutines, 6 I/O Basics, and
11 Filehandles and File Tests.
.



Relevant Pages

  • Re: Beginner needs help
    ... On 6/27/07, Rick wrote: ... One is to copy a log file to a backup server every hour. ... A lot depends on your knowledge of Perl. ...
    (perl.beginners)
  • Beginner needs help
    ... Ok so the boss wants me to create two scripts in perl and I don't even ... One is to copy a log file to a backup server every hour. ...
    (perl.beginners)
  • Re: GUI and Rapid Application Development?
    ... Most simple applications that I dealt with did not need the use of API ... I imagine Perl is faster, ... my Perl scripts are more compact ... Chirag> in Windows that could run on Windows 98 through 2003. ...
    (comp.os.linux.misc)
  • RE: Fork - Process ID
    ... > Subject: Fork - Process ID ... > I have many cron jobs that run perl scripts. ... # standard-out with random messages. ...
    (perl.beginners)
  • Re: Learning perl when in the frying pan...
    ... > Programming Perl 3rd edition) and a few other perl books), ... the first thing will be to read Programming Perl again. ... I work on Perl & Mod Perl scripts on a ecommerce system critical server. ...
    (comp.lang.perl.misc)