On Wed, Mar 3, 2010 at 8:40 PM, Irfan Sayed wrote:
> Hi all,
>
> I need to copy files from one machine to another machine. I need to use
> Net::SCP module .
> Can you please give/help me small Perl snippet which will copy the files
>
I was thinking this module's document has already given the ex
On Saturday 06 July 2002 14:18, Felix Geerinckx wrote:
> on Sat, 06 Jul 2002 12:37:39 GMT, T. B. Booher wrote:
> > I know that 'rename' moves files from one place to another, but how do
> > you copy files in perl?
>
> See
> perldoc File::Copy
Is my perl doc broken, or is there some environ
On Sat, 6 Jul 2002 07:37:39 -0500, [EMAIL PROTECTED] (T. B. Booher)
wrote:
>I know that 'rename' moves files from one place to another, but how do
>you copy files in perl?
>I looked around and didn't see any other functions for it.
#!/usr/bin/perl
use File::Copy;
copy("file1","file2");
--
on Sat, 06 Jul 2002 12:37:39 GMT, T. B. Booher wrote:
> I know that 'rename' moves files from one place to another, but how do
> you copy files in perl?
See
perldoc File::Copy
--
felix
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
On Feb 5, Student of Perl said:
>whats the simple function to copy
>files? pls tell the syntax.
perldoc File::Copy
--
Jeff "japhy" Pinyan [EMAIL PROTECTED] http://www.pobox.com/~japhy/
RPI Acacia brother #734 http://www.perlmonks.org/ http://www.cpan.org/
** Look for "Regular E
On Thu, Dec 13, 2001 at 06:42:17AM -0600, Michael Pratt wrote:
> Does anyone know how to go and get a file (with wild cards too) and dump
> them to a specifed directory on a local machine from the internet. weather
> it be ftp or http protocol? If so can I get an example?
You probably want LWP:
Michael Pratt wrote:
>
> Does anyone know how to go and get a file (with wild cards too) and dump
> them to a specifed directory on a local machine from the internet. weather
> it be ftp or http protocol? If so can I get an example?
#!/usr/bin/perl -w
use strict;
use Net::FTP;
my $local_dir =