Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options

Re^10: rename issues

by sunadmn (Curate)
on Nov 29, 2004 at 18:37 UTC ( #410997=note: print w/ replies, xml ) Need Help??

in reply to Re^9: rename issues
in thread rename issues

That is correct so I have taken out the rename, but this creates two sets of file one set with the old name and one set that is modified with the new name and modified text. the end result I want is to have the files renamed than open those files and do the switch inside them and not have the old file there at all. I think I am confusing myself here maybe I need to do another subroutine what do you think??



Comment on Re^10: rename issues
Replies are listed 'Best First'.
Re^11: rename issues
by ikegami (Pope) on Nov 29, 2004 at 18:39 UTC
    this creates two sets of file one set with the old name

    uh, no, unless unlink failed for some reason??? unlink deletes. How can you be left with something you've deleted?

      Darn unlink didn't work, but it was my fat finger trying to get this done in a hurry thank you it works now I owe ya one big time!!

      Thanks so much!!
      USE PERL

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://410997]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (5)
As of 2015-11-27 15:14 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (731 votes), past polls