Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW

LazerRed's scratchpad

by LazerRed (Pilgrim)
on Jun 04, 2004 at 18:06 UTC ( #361072=scratchpad: print w/replies, xml ) Need Help??

Ok, I'm using File::Find to traverse a directory structure on a mixed mode filer loading a list of files into an array.

I have a file that I use to know if I'd seen a file before, I read this file into a hash with the keys being the full path and filename.

Then, before I grab the file, I check to see if it exists in %seen. I skip the files I've seen before.

This works great, until I hit a problem child. I've "seen" a particular file before, but the array element NEVER matches the %seen key for it.

At first, I thought it was because this particular file has %20 in the name, and I assumed that was breaking it. However, other files have similar names, and match correctly.

Is there something going on with the "stringification" of the filenames into the hash key that I'm missing? I've dumped hash key, and it should match... sigh. Anyone ever run into someting similar?

This is perl 5.005 on a sun4u box

Log In?

What's my password?
Create A New User
[Corion]: marto: I believe nowadays, at least window.opener should not be set anymore (except maybe within the same domain)
[Corion]: But I wouldn't really know as I don't use iexplore much (except at $work) and mostly surf with JS disabled (except at $work :) )
[marto]: yeah, this is at work, where some intranet app launches links via When users close the intranet page so that only the new JS opened windows exist, clicking URLs in an email (or whatever) don't open
[Corion]: marto: It somewhat makes sense that the reduced popup window doesn't get new URLs, but it makes less sense that no new browser window opens :)

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (7)
As of 2018-03-21 11:47 GMT
Find Nodes?
    Voting Booth?
    When I think of a mole I think of:

    Results (267 votes). Check out past polls.