Re: Beginner needs help
- From: chas.owens@xxxxxxxxx (Chas Owens)
- Date: Wed, 27 Jun 2007 18:11:18 -0400
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.
.
- References:
- Beginner needs help
- From: Rick
- Re: Beginner needs help
- From: Chas Owens
- Beginner needs help
- Prev by Date: Re: Beginner needs help
- Next by Date: Re: String Manipulation
- Previous by thread: Re: Beginner needs help
- Next by thread: String Manipulation
- Index(es):
Relevant Pages
|
|