Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re^9: rename issues

by ikegami (Patriarch)
on Nov 29, 2004 at 18:29 UTC ( [id://410994]=note: print w/replies, xml ) Need Help??


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

The code starts with example_user_menu.htm and ends with only pnDiagram_user_main.htm. Isn't that what you want? No rename. No need for rename.

Replies are listed 'Best First'.
Re^10: rename issues
by sunadmn (Curate) on Nov 29, 2004 at 18:37 UTC
    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??

    Thanks
    SUNADMN
    USE PERL
      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!!
        SUNADMN
        USE PERL

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (3)
As of 2024-04-19 01:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found