At 12:29 PM -0700 4/14/11, mark baumeister wrote:
Hi,
I am trying to move array elements (populated from the ) into a
hash
as pairs [i] and [i + 1] and then print them out using the code below.
If I enter "bob" as the first element and hit enter I get the
error messages below. I guess
mark baumeister wrote:
Hi,
Hello,
I am trying to move array elements (populated from the) into a
hash
as pairs [i] and [i + 1] and then print them out using the code below.
If I enter "bob" as the first element and hit enter I get the
error messages below. I guess there are multipl
On 14/04/2011 20:29, mark baumeister wrote:
Hi,
I am trying to move array elements (populated from the) into a
hash
as pairs [i] and [i + 1] and then print them out using the code below.
If I enter "bob" as the first element and hit enter I get the
error messages below. I guess
On 11-04-14 03:29 PM, mark baumeister wrote:
#create key - value pairs to go into a hash by first entering each
into a list @k or @v
print "input key/value pairs: first a key then return, then a value
then return, etc. To stop entering key/value pairs type 'stop'\n";
while ($kv =) {
chomp($kv
Hi,
I am trying to move array elements (populated from the ) into a
hash
as pairs [i] and [i + 1] and then print them out using the code below.
If I enter "bob" as the first element and hit enter I get the
error messages below. I guess there are multiple problems with my
code.
For one
Whoof! Thanks, Shlomi - I guess Copy-Recursive has what I need. I had no idea
it would be such a can of worms.
Chap
On May 23, 2010, at 10:57 PM, Shlomi Fish wrote:
> Hi Chap,
>
> On Monday 24 May 2010 04:09:52 Chap Harrison wrote:
>> Hi,
>>
>> I can't believe I'm having such a hard time wi
Hi Chap,
On Monday 24 May 2010 04:09:52 Chap Harrison wrote:
> Hi,
>
> I can't believe I'm having such a hard time with this. I just want a
> platform-independent way of copying a directory 'A' and its contents into
> another directory 'B' (as a subdirectory of B, named A). Not crossing
> files
subdirectory of B, named A). Not
> crossing filesystems or devices.
> Various online sources have said you copy directories the same way
> you copy files; others have recommended File::Copy as a
> platform-independent copy/move command; and the File::Copy docs
> contain the follow
ine sources have said you copy directories the same way you copy
files; others have recommended File::Copy as a platform-independent copy/move
command; and the File::Copy docs contain the following statement: "If the
destination already exists and is a directory, and the source is not a
directory, t
Jeremiah Foster writes:
[...]
> Harry, this appears to be off topic since it does not deal directly
> with beginner's perl questions. I think you may find better response
> on a Gentoo list.
Off topic and embarrassing. My 2nd time in the spc of a week.
I've got to quit jumping to perl when I
On Nov 2, 2009, at 17:07, Harry Putnam wrote:
I noticed I've been masking gcc beyond version 4.3.2-r3, and have
forgotten why I had it masked.
I'm updating world right now, and wondered if I were to move up to
most recent gcc (4.4.2), which would be a 5 version jump, what I could
I noticed I've been masking gcc beyond version 4.3.2-r3, and have
forgotten why I had it masked.
I'm updating world right now, and wondered if I were to move up to
most recent gcc (4.4.2), which would be a 5 version jump, what I could
expect in the way of problems.
Would I need to re-e
mes www::mechanize will fail to get the website because the
> server is busy, or for whatever reason. HOw do I get it so that
> instead of dying right then and there it will just ignore it and move
> onto the next page?
snip
You can use a block eval* to catch the die the module is throwi
for whatever reason. HOw do I get it so that
instead of dying right then and there it will just ignore it and move
onto the next page?
partial code below:
while ( $ref = $st->fetchrow_arrayref() )
{
print "Retrieving news stories from $page\n";
my $mech=WWW::Mechanize->ne
do I get it so that
instead of dying right then and there it will just ignore it and move
onto the next page?
partial code below:
while ( $ref = $st->fetchrow_arrayref() ) { print "Retrieving news
stories from $page\n"; my $mech=WWW::Mechanize->new(autocheck => 1);
$
for whatever reason. HOw do I get it so that
instead of dying right then and there it will just ignore it and move
onto the next page?
partial code below:
while ( $ref = $st->fetchrow_arrayref() ) { print "Retrieving news
stories from $page\n"; my $mech=WWW::Mechanize->ne
> Can this be done? Can I compile a module on one box and
> somehow install the code on another?
> Might this be as simple as copying over the contents of the
> directories in @INC?
As it turns out, this was fairly easy to do.
I followed the advice from Chas Owens who suggested that I build t
RICHARD FERNANDEZ wrote:
Can this be done? Can I compile a module on one box and
somehow install the code on another?
Might this be as simple as copying over the contents of the
directories in @INC?
Thanks Tom and Chas for the responses.
It sounds like this is do-able, but not w/o some pain
> Can this be done? Can I compile a module on one box and
> somehow install the code on another?
> Might this be as simple as copying over the contents of the
> directories in @INC?
>
Thanks Tom and Chas for the responses.
It sounds like this is do-able, but not w/o some pain. Their desire to
On 6/26/07, RICHARD FERNANDEZ <[EMAIL PROTECTED]> wrote:
Hi folks,
Having worked around my CPAN mirror problems by abandoning the FTP URL
and going with an HTTP connection instead (Thanks for the suggestion
David :), I'm now faced with the fact that the box I'm on does not have
a compiler instal
On 6/26/07, RICHARD FERNANDEZ <[EMAIL PROTECTED]> wrote:
the box I'm on does not have
a compiler installed. "They" want me to install various modules (DBI.pm
and others) without installing a compiler...
Can this be done? Can I compile a module on one box and somehow
install the code on another?
Hi folks,
Having worked around my CPAN mirror problems by abandoning the FTP URL
and going with an HTTP connection instead (Thanks for the suggestion
David :), I'm now faced with the fact that the box I'm on does not have
a compiler installed. "They" want me to install various modules (DBI.pm
and
On Thu, Jul 13, 2006 at 02:33:44PM +0200, OROSZI Balázs wrote:
> Hi guys!
>
> I'm a total Perl beginner, and I delete most mails, as either I cannot
> answer or I'm not interested. I'm reading through this thread from the
> Trash folder, and this is what I gathered:
>
> Mr. Shawn H. Corey - cal
On 14/07/06, Mathew Snyder <[EMAIL PROTECTED]> wrote:
Mike Martin wrote:
> On 13/07/06, OROSZI Balázs <[EMAIL PROTECTED]> wrote:
>> Hi guys!
>>
>> I'm a total Perl beginner, and I delete most mails, as either I cannot
>> answer or I'm not interested. I'm reading through this thread from the
>>
Mike Martin wrote:
> On 13/07/06, OROSZI Balázs <[EMAIL PROTECTED]> wrote:
>> Hi guys!
>>
>> I'm a total Perl beginner, and I delete most mails, as either I cannot
>> answer or I'm not interested. I'm reading through this thread from the
>> Trash folder, and this is what I gathered:
>>
>> Mr. Sha
On 13/07/06, OROSZI Balázs <[EMAIL PROTECTED]> wrote:
Hi guys!
I'm a total Perl beginner, and I delete most mails, as either I cannot
answer or I'm not interested. I'm reading through this thread from the
Trash folder, and this is what I gathered:
Mr. Shawn H. Corey - calm guy, good Perl skills
Hi guys!
I'm a total Perl beginner, and I delete most mails, as either I cannot
answer or I'm not interested. I'm reading through this thread from the
Trash folder, and this is what I gathered:
Mr. Shawn H. Corey - calm guy, good Perl skills
Rob Dixon - calm guy, good Perl skills
Ran
Please. This thread has gone on long enough. What started out as a
question with mixed responses (admittedly, I think mine may have been
off the mark), has turned into a waste of my drive space. So with
respect to those of us that have seen enough
MOVE ON ALREADY!!!
Don't say
Mathew Snyder wrote:
> Please. This thread has gone on long enough. What started out as a
> question with mixed responses (admittedly, I think mine may have been
> off the mark), has turned into a waste of my drive space. So with
> respect to those of us that have seen enough
Please. This thread has gone on long enough. What started out as a
question with mixed responses (admittedly, I think mine may have been
off the mark), has turned into a waste of my drive space. So with
respect to those of us that have seen enough
MOVE ON ALREADY!!!
Mathew Snyder
Mr. Shawn H
<>
>>
>> So I suppose I want to do a locate, rename, move. 1) locate all
>> "output.txt" files on the hard drive; 2) rename each "output.txt" to
>> something unique, and 3) move each renamed file from its original
>> location
>>
<>
>> So I suppose I want to do a locate, rename, move. 1) locate all
>> "output.txt" files on the hard drive; 2) rename each "output.txt" to
>> something unique, and 3) move each renamed file from its original
>> location
>> to a single
-
From: John W. Krahn [mailto:[EMAIL PROTECTED]
Sent: Sun 10/23/2005 11:19 PM
To: Perl Beginners
Cc:
Subject: Re: rename and move multiple files
UNTESTED (sorry I don't use Windows):
my
]
Sent: Sun 10/23/2005 11:35 PM
To: [EMAIL PROTECTED]
Cc: beginners@perl.org
Subject: Re: rename and move multiple files
It's hard to imagine that you spend multiple days looking at such an
easy problem and
xt
output4.txt
.. . .
So I suppose I want to do a locate, rename, move. 1) locate all
"output.txt" files on the hard drive; 2) rename each "output.txt" to
something unique, and 3) move each renamed file from its original location
to a single directory.
I have tried a few ways wi
> do a "dir" of C:\RENOUTPUT is looks like:
>
> output1.txt
> output2.txt
> output3.txt
> output4.txt
> .. . .
>
> So I suppose I want to do a locate, rename, move. 1) locate all
> "output.txt" files on the hard drive; 2) rename each "output.txt"
called "output.txt." I want
to get everyone of those "output.txt" and copy it to a single directory
(call it c:\renoutput) and each output will have a unique name. So when I
do a "dir" of C:\RENOUTPUT is looks like:
output1.txt
output2.txt
output3.txt
output4.txt
.. . .
hi,everyone,
I want to move my web applications which written by traditional CGI to
mod_perl.Is there any risk or difficulty here?
The applications are something about webmail.Which module under mod_perl
is suited for me?
Any advise or reference to me should be appreciated.TKS.
--
Jeff Pan
On Fri, 2004-11-05 at 13:39, Larsen, Errin M HMMA/IT wrote:
> > -Original Message-
> > From: JupiterHost.Net [mailto:[EMAIL PROTECTED]
> > Sent: Friday, November 05, 2004 3:08 PM
> > To: [EMAIL PROTECTED]
> > Cc: Jose Nyimi
> > Subject: Re:
Hi,
Hello :)
I've been lurking on this thread for a bit, and now that you've jumped to children and
fork and related topics I'll chime in!
I found a lot of useful information about this sort of thing in "perldoc perlipc".
Check out the stuff about Daemons and the REAPER subroutine in that doc.
> -Original Message-
> From: JupiterHost.Net [mailto:[EMAIL PROTECTED]
> Sent: Friday, November 05, 2004 3:08 PM
> To: [EMAIL PROTECTED]
> Cc: Jose Nyimi
> Subject: Re: RE : start http request and move on
>
>
>
> > Nice approach, I have learned toda
Nice approach, I have learned today an easy to do it :)
Though care should be taken to not fork many *uncontrolled* childs.
Could you elaborate what uncontrolled children are specifically and what
should be avoided?
(In context of this thread of course not the little humans running
around like c
> -Message d'origine-
> De : Bob Showalter [mailto:[EMAIL PROTECTED]
> Envoyé : vendredi 5 novembre 2004 19:40
> À : 'JupiterHost.Net'; [EMAIL PROTECTED]
> Objet : RE: start http request and move on
>
> JupiterHost.Net wrote:
> > Bob Showalter
You don't need to call exit if you just put the other stuff in an else {}
block so the parent doesn't execute it. If you're running under
Apache::Registry though, calling exit is OK.
Perfect, the else {} works great! I'll need to read up on fork and all
that so I can really get it :)
Thanks so m
Bob Showalter wrote:
If you're running under Apache::Registry though, calling exit is OK.
If I have understood it correctly, it's not OK if Perl is older than
5.6. Therefore I'm using this sub:
sub myexit {
if ($ENV{MOD_PERL}) {
if ($] < 5.006) {
require A
JupiterHost.Net wrote:
> Bob Showalter wrote:
...
> > Use something like the following:
...
> Thanks Bob, That works great! Now the next step is to play with that
> in a peristent environment without killing the persistent process
> with the exit() Perhapst the system + & will do better in a persi
Bob Showalter wrote:
JupiterHost.Net wrote:
I don't want the user to wait
at all, just submit the form, they see the confirmation and close
their browser and the fork() finished in its own sweet time on the
server.
Use something like the following:
#!/usr/bin/perl
use strict;
use CGI ':sta
A very shoddy way of doing it, but you could put what you want to do in
another script, call system() and place it in the background so you original
script doesn't wait for it to return.
.
system "perl script.pl any arguments &";
.
I assume this would work, but am not 100% sure without try
-Original Message-
From: JupiterHost.Net [mailto:[EMAIL PROTECTED]
Sent: 05 November 2004 15:14
To: [EMAIL PROTECTED]
Subject: Re: start http request and move on
Thanks Jose, and Randal too :),
very close indeed the only difference is I don't want the user to wait
at all, just s
JupiterHost.Net wrote:
> I don't want the user to wait
> at all, just submit the form, they see the confirmation and close
> their browser and the fork() finished in its own sweet time on the
> server.
Use something like the following:
#!/usr/bin/perl
use strict;
use CGI ':standard';
us
Randal has written an excellent column and shown how to deal with such needs.
Have a look to
http://www.stonehenge.com/merlyn/LinuxMag/col39.html
Thanks Jose, and Randal too :),
very close indeed the only difference is I don't want the user to wait
at all, just submit the form, they see the confi
> -Original Message-
> From: JupiterHost.Net [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, November 03, 2004 10:23 PM
> To: [EMAIL PROTECTED]
> Subject: start http request and move on
>
>
> Hey group,
>
> Not sure how I'd go about doing a url (via L
say, it takes the entire http session 60 seconds from start to finish to
submit the url, the script to run and return the results
I want:
print "Starting...\n";
nowaiturl("$url?foo=bar");
print "$url has been submitted, in appx 60 seconds it will finish";
to run in like it had been (obviously
be the best way?
Or what is that even called so I can look around for it?
[jwm]
Don't use LWP but in my CGI scripts I set $| to nonzero ... to do what you
want...
Thanks, I'm not worried about flushing output, I want to submit the url
and move on like so:
say, it takes the entire ht
-Original Message-
From: JupiterHost.Net [mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 03, 2004 4:23 PM
To: [EMAIL PROTECTED]
Subject: start http request and move on
Hey group,
Not sure how I'd go about doing a url (via LWP probably) but not wait
for it to return.
Hey group,
Not sure how I'd go about doing a url (via LWP probably) but not wait
for it to return.
print "Starting...\n";
nowaiturl("$url?foo=bar");
print "$url has been submitted. When it finishes running you'll get an
email. Have a super day\n"; # or whatever :)
The idea is to be able to submi
> I have develop a perl script that transfer a data that we want, from
one machine to another machine.
>
> $ftp_server= "***.***.***.***";
> $login = "roime";
> $password = "roimepuniran";
> $upload_to_dir = "/flow/flowBig";
> $input_file = "/flow/netflow";
> $new_file_name =
:
Subject: search and move 'expired files'
Hello all,
I want a script to move all 'expired files' to a folder.
So I wrote the script below.
However, a problem came out: the find function run everything
in the address
search and move 'expired files'
Hello all,
I want a script to move all 'expired files' to a folder.
So I wrote the script below.
However, a problem came out: the find function run everything
in the address, including the entire folders structure!!!
Hello all,
I want a script to move all 'expired files' to a folder.
So I wrote the script below.
However, a problem came out: the find function run everything
in the address, including the entire folders structure!!!
I want to move those files and files only. What can I do?
(*note:
Gregg O'Donnell wrote:
> Greetings all! I have data that is output from a form.
OK. I assume you mean an HTML form and your script is a CGI script.
> How do I take
> this data, save it as a .txt file, and place this .txt file in
> another location (a different folder, not cgi-bin) on my server?
Greetings all! I have data that is output from a form. How do I take this data, save
it as a .txt file, and place this .txt file in another location (a different folder,
not cgi-bin) on my server? Also, each time a .txt file is created, it should
"overwrite" the previous file ( I assume this is
> Hola,
>
> How do I remove a file from a zip file and add it to a different
existing archive? From the Archive_Zip documentation I understand that
I'm clobbering the existing archives when i use the code below. How do
I not clobber them?
>
> thank you.
>
>
> use Archive::Zip qw( :ERROR_CODES
Hola,
How do I remove a file from a zip file and add it to a different existing archive?
From the Archive_Zip documentation I understand that I'm clobbering the existing
archives when i use the code below. How do I not clobber them?
thank you.
use Archive::Zip qw( :ERROR_CODES :CONSTANTS );
Rob Dixon wrote:
Wiggins D Anconia wrote:
Depending on what is writing the files, aka another controllable
program? I have had good luck with writing the file to a temporary
location, usually with a dot on the front, then executing a move from
that temp location to the real name. A move is
nt: Friday, December 12, 2003 6:37 AM
To: [EMAIL PROTECTED]
Subject: Re: Move a file
> Neill Taylor wrote:
> >
> > I am writing a script which will poll a directory and then move any
files
> > in the directory to a new directory dependant upon its name.
> >
> > The prob
Wiggins D Anconia wrote:
>
> > Neill Taylor wrote:
> > >
> > > I am writing a script which will poll a directory and then move any
> files
> > > in the directory to a new directory dependant upon its name.
> > >
> > > The problem I think
> Neill Taylor wrote:
> >
> > I am writing a script which will poll a directory and then move any
files
> > in the directory to a new directory dependant upon its name.
> >
> > The problem I think I might have is that the script may try to pick
a file
> &
Neill Taylor wrote:
>
> I am writing a script which will poll a directory and then move any files
> in the directory to a new directory dependant upon its name.
>
> The problem I think I might have is that the script may try to pick a file
> that is still being copied into th
I am writing a script which will poll a directory and then move any files
in the directory to a new directory dependant upon its name.
The problem I think I might have is that the script may try to pick a file
that is still being copied into the directory whilst the application is
still trying
in::Bin directory where your script is,
Marcos
-Original Message-
From: Voodoo Raja [mailto:[EMAIL PROTECTED]
Sent: Monday, July 21, 2003 7:15 AM
To: [EMAIL PROTECTED]
Subject: Unix style to move and write two level up
Hi all
I am wandering if there is a way to specify my cgi script to=20
Hi all
I am wandering if there is a way to specify my cgi script to=20
write a file in a directory which is two level up..
curently I am able to write to images folder which is located in My =
/cgi-bin/images.
instead I would like to move two level up and write to the Root where =
the cgi-bin
Actually Rob your tips are very handy...
I have a nasty habit of posting only part of the code when
asking questions here, gotta break that habit.
> use strict; # always
> use warnings; # usually
Doing those :)
> - What's this 'move' thing? Have you sneakily added
r it will work, but we are not your
computer and it may not agree with us.
use strict; # always
use warnings; # usually
> my $reportsdir = '/usr2/reports';
> my $oldreportsdir = '/usr2/oldreports';
>
> # Move everything from the report directory to the old r
Just want to check and make sure this snippet of code will do what I think it will.
Trying to copy all files from $reportsdir to $oldreportsdir
my $reportsdir = '/usr2/reports';
my $oldreportsdir = '/usr2/oldreports';
# Move everything from the report directory to the
Rob Dixon made a couple of mistakes in writing:
>>
>> closedir(DIR);
>
> Do this after you've finished reading it.
(meaning 'directly after you've finished reading the directory' :)
> This should work roughly as intended. If you need to know what
> your current working directory is,
>
> use C
you're opening ./logfile1 on
handle INFILE. You have two choices: specify a path in your open:
open INFILE, 'data/'.$input;
or move your current working directory to 'data', which is your best
bet if /all/ of your data files (both input and output) are there.
'chd
Jose Malacara wrote:
> foreach my $file (@files) {
>my $input="$file";
>
> open(INFILE,"$input") || die "Can't open file $input"; #<=== is opening
> correct file name, but not 'data/logfile1.
I think your problem is here. Presuming that data is a subdirectory of the directory
your script
ot;;
}
}
}
}
closedir(DIR);
close INFILE;
==
- Original Message -
From: "Wiggins d'Anconia" <[EMAIL PROTECTED]>
To: "Jose Malacara" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Tuesday, February 04, 2003 8:11 PM
Jose Malacara wrote:
> opendir(DIR, ".");
> my @files = readdir(DIR);
How about:
opendir (DIR, "../adm"); ?
It works for me.
Joseph
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
like to be able to move my csv files into a separate data directory, but I seem to be having problems mapping the rest of the script to the new directory. Is there any way to make my input look something like this:
my $input="data/$file" or is there a better way to handle this?
Thanks,
Hello.
I have a script that parses csv files for the occurence of an IP address that is
passed to the script as an argument when it runs. Currently, I can only run the script
from within the same directory as my data files. I would like to be able to move my
csv files into a separate data
All locking modules use advisory locking hence it is not possible to
ensure that the file is not being touched unless you build the
intelligence into all possible scripts
Rory O'Connor wrote:
I am using File::Copy to move a file from one directory to another. However, I do not want to
> "Rory O'Connor" <[EMAIL PROTECTED]> said:
> I am using File::Copy to move a file from one directory to another. However, I do
>not want to move the file if it is being written to (by another program).
>
> Do i need to lock the file before moving it or
I am using File::Copy to move a file from one directory to another. However, I do not
want to move the file if it is being written to (by another program).
Do i need to lock the file before moving it or does File::Copy by nature wait until a
file is not being written to before moving?
I
On Thu, Sep 26, 2002 at 03:02:04PM -0700, Matt Simonsen wrote:
> I need to move several files
Moving files can be accomplish with rename, perldoc -f rename.
> and compress them - what's the preferred way to do this?
It depends on your requirements, there is no single prefe
Matt Simonsen wrote:
> I need to move several files and compress them - what's the preferred
> way to do this? I don't think Zlib::Compress is what I want, it seems
> more geared towards dealing with small streams... although I suppose I
> could look over each line and wr
There is also an Archive::Zip module that works quite well.
-Original Message-
From: Matt Simonsen [mailto:[EMAIL PROTECTED]]
Sent: Thursday, September 26, 2002 3:02 PM
To: [EMAIL PROTECTED]
Subject: Preferred way to move and compress a file
I need to move several files and compress
Matt Simonsen wrote:
>I need to move several files and compress them - what's the preferred
>way to do this? I don't think Zlib::Compress is what I want, it seems
>more geared towards dealing with small streams... although I suppose I
>could look over each line and write t
I need to move several files and compress them - what's the preferred
way to do this? I don't think Zlib::Compress is what I want, it seems
more geared towards dealing with small streams... although I suppose I
could look over each line and write that out.
The files to compress are a
like doing
>
> move ("*.log" , "/tmp/") without the use of glob or individual file looping.
>
> Thanks
> Shishir
>
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Is there a keyword for moving a set of files from one dir to another
eg like doing
move ("*.log" , "/tmp/") without the use of glob or individual file looping.
Thanks
Shishir
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Thanks for all your help.
--- Michael McQuarrie <[EMAIL PROTECTED]> wrote:
> I'm sure this is a dumb question. It seems like one anyways. Is there a move
>command in perl?
> I
> know I can copy then unlink a file but I cant find a move (or similar)
The File::Copy module provides two basic functions, copy and move, which are
useful for getting the contents of a file from one place to another.
- Original Message -
From: "Michael McQuarrie" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, December 31
L PROTECTED]
> Subject: RE: move
>
>
> I think 'system("mv", "/dir/file", "/dir2/file");', will only
> work if you
> have access to unix functions.
>
>
> system("mv", "/dir/file", "/dir2/file");
>
ROTECTED]]
> Sent: Monday, December 31, 2001 10:51 AM
> To: [EMAIL PROTECTED]
> Subject: move
>
>
> I'm sure this is a dumb question. It seems like one anyways.
> Is there a move command in perl? I
> know I can copy then unlink a file but I cant find a move (or
system("mv", "/dir/file", "/dir2/file");
> -Original Message-
> From: Michael McQuarrie [mailto:[EMAIL PROTECTED]]
> Sent: Monday, December 31, 2001 10:51 AM
> To: [EMAIL PROTECTED]
> Subject: move
>
>
> I'm sure this is a dum
I think the rename function is what you're looking for:
rename "old", "new";
-Original Message-
From: Michael McQuarrie [mailto:[EMAIL PROTECTED]]
Sent: Monday, December 31, 2001 10:51 AM
To: [EMAIL PROTECTED]
Subject: move
I'm sure this is a dumb questi
I'm sure this is a dumb question. It seems like one anyways. Is there a move command
in perl? I
know I can copy then unlink a file but I cant find a move (or similar) command.
-Michael
__
Do You Yahoo!?
Send your FREE holiday greetings o
> I have delimited the fields in the logfile by ","..and delimited the
> last field for each entry with a "*".
>
> How do I get it to move to the next entry after the *, and print that to
> screen?
>
> open(READFILE, $log_file) ||
>
> print &q
1 - 100 of 118 matches
Mail list logo