Re: copying a file without using module File::Copy

2003-02-15 Thread R. Joseph Newton
Michael Pastore wrote: > Tim/Rob/All, > > Being a Perl nubieand not having alot of experience in installing and > using Perl modules...I decided to go the route of using the system > function.. > > I took a look at CPAN and what was involved in installing the module and > using it (was confuse

RE: copying a file without using module File::Copy

2003-02-14 Thread Jenda Krynicky
From: Paul <[EMAIL PROTECTED]> > > system ('copy d:\server\vsiwork\*.tag d:\server\vsiout'); > > Since you're obviously on a WinDOZE system, though, make sure you > don't use doublequotes around file paths; "d:\server\vsiwork\*.tag" > interpolates the backslashes, so you end up with a string that

RE: copying a file without using module File::Copy

2003-02-14 Thread Paul
> system ('copy d:\server\vsiwork\*.tag d:\server\vsiout'); btw, for security reasons, you might want to consider converting that to system qw/ copy d:\server\vsiwork\*.tag d:\server\vsiout /; or to be more visually explicit for nuB's, system ('copy','d:\server\vsiwork\*.tag','d:\server\vsio

RE: copying a file without using module File::Copy

2003-02-14 Thread Paul
--- Jenda Krynicky <[EMAIL PROTECTED]> wrote: > > Being a Perl nubieand not having alot of experience in > > installing and using Perl modules... > > While this may be a valid reason not to use a module it's not > applicable to File::Copy. > The module is part of the core, you already have i

Re: copying a file without using module File::Copy

2003-02-14 Thread Rob Dixon
Jenda Krynicky wrote: > From: Michael Pastore <[EMAIL PROTECTED]> >> Tim/Rob/All, >> >> Being a Perl nubieand not having alot of experience in installing >> and using Perl modules...I decided to go the route of using the >> system function.. >> >> I took a look at CPAN and what was in

RE: copying a file without using module File::Copy

2003-02-14 Thread Jenda Krynicky
From: Michael Pastore <[EMAIL PROTECTED]> > Tim/Rob/All, > > Being a Perl nubieand not having alot of experience in installing > and using Perl modules...I decided to go the route of using the system > function.. > > I took a look at CPAN and what was involved in installing

RE: copying a file without using module File::Copy

2003-02-14 Thread wiggins
On Fri, 14 Feb 2003 13:56:57 -0500, Michael Pastore <[EMAIL PROTECTED]> wrote: > Tim/Rob/All, > > Being a Perl nubieand not having alot of experience in installing and > using Perl modules...I decided to go the route of using the system > fun

RE: copying a file without using module File::Copy

2003-02-14 Thread Michael Pastore
PROTECTED] Subject: Re: copying a file without using module File::Copy Timothy Johnson wrote: > If you don't mind, I think there are still some of us that are > wondering; why don't you want to use File::Copy? Hear hear! /R -- To unsubscribe, e-mail: [EMAIL PROTECTED] For a

Re: copying a file without using module File::Copy

2003-02-14 Thread Rob Dixon
Timothy Johnson wrote: > If you don't mind, I think there are still some of us that are > wondering; why don't you want to use File::Copy? Hear hear! /R -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: copying a file without using module File::Copy

2003-02-14 Thread Timothy Johnson
2003 10:13 AM To: [EMAIL PROTECTED] Subject: copying a file without using module File::Copy Hello All, Is the only way to copy a file from one directory to another by using the copy module...? Would anyone have a snipet of code copying a file from one dir to another... Any assistance would be a

RE: copying a file without using module File::Copy

2003-02-14 Thread Michael Pastore
: copying a file without using module File::Copy Hello All, Is the only way to copy a file from one directory to another by using the copy module...? Would anyone have a snipet of code copying a file from one dir to another... Any assistance would be appreciated... Thank you, Mike -- To

Re: copying a file without using module File::Copy

2003-02-14 Thread Rob Dixon
James Kipp wrote: >>> Is the only way to copy a file from one directory to another >>> by using the >>> copy module...? > > Sorry. I misread your question. Yeah, so did I :) > You could shell out to the system > copy as Wiggins mentioned. But why not use the module ? /R -- To unsubscribe, e

RE: copying a file without using module File::Copy

2003-02-14 Thread Kipp, James
> > > > Is the only way to copy a file from one directory to another > > by using the > > copy module...? Sorry. I misread your question. You could shell out to the system copy as Wiggins mentioned. But why not use the module ? > > one example: > > use strict; > use File::Copy; >

RE: copying a file without using module File::Copy

2003-02-14 Thread Jensen Kenneth B SrA AFPC/DPDMPQ
inode field (from the stat function) is identical to the original. -Original Message- From: Michael Pastore [mailto:[EMAIL PROTECTED]] Sent: Friday, February 14, 2003 9:13 AM To: [EMAIL PROTECTED] Subject: copying a file without using module File::Copy Hello All, Is the only way to c

RE: copying a file without using module File::Copy

2003-02-14 Thread Kipp, James
> > Is the only way to copy a file from one directory to another > by using the > copy module...? > > Would anyone have a snipet of code copying a file from one > dir to another... > > Any assistance would be appreciated... > Have you checked the docs for File::Copy ? one example:

RE: copying a file without using module File::Copy

2003-02-14 Thread wiggins
On Fri, 14 Feb 2003 10:13:06 -0500, Michael Pastore <[EMAIL PROTECTED]> wrote: > > Hello All, > > Is the only way to copy a file from one directory to another by using the > copy module...? > > Would anyone have a snipet of code copying a file

copying a file without using module File::Copy

2003-02-14 Thread Michael Pastore
Hello All, Is the only way to copy a file from one directory to another by using the copy module...? Would anyone have a snipet of code copying a file from one dir to another... Any assistance would be appreciated... Thank you, Mike -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additio