Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot

Re^5: Transforming File Name Characters

by choroba (Bishop)
on Mar 14, 2013 at 18:06 UTC ( #1023519=note: print w/replies, xml ) Need Help??

in reply to Re^4: Transforming File Name Characters
in thread Transforming File Name Characters

Yes, you are right. You should only skip the renaming part, not the recursive one. This problem did not exist in my code, though (but something like unless $new eq $f should be appended to the rename).

Also, please do not use <code> tags for normal text. It makes the code harder to download.

لսႽ ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ

Replies are listed 'Best First'.
Re^6: Transforming File Name Characters
by rfleisch (Initiate) on Mar 14, 2013 at 18:16 UTC

    10-4 on only using the "code" tag for real code. I was using it for formatting. But if I understand your code correctly the script would "die" at the first duplicate, which I do NOT want it to do.

    -Regards, -Ray

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1023519]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (4)
As of 2018-06-23 07:20 GMT
Find Nodes?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?

    Results (125 votes). Check out past polls.