Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

MonkE's scratchpad

by MonkE (Hermit)
on May 23, 2006 at 20:01 UTC ( [id://551226]=scratchpad: print w/replies, xml ) Need Help??

According to the relevant documentation on CPAN, you need to pass the starting directory as an array. So your invocation of find() should look like this:
find (\&pstFind, ($dir) );
I hope that helps. Also if you want more robust matching for a PST file, you could use the following regex statement instead of what you have:
if ( /\.PST$/i ){
Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (4)
As of 2024-04-19 03:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found