Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: sub strict refs errors.

by cephas (Pilgrim)
on Oct 03, 2006 at 00:33 UTC ( [id://575984]=note: print w/replies, xml ) Need Help??


in reply to sub strict refs errors.

return unless -d $dir;

You are checking to see if $dir is a directory, even though you assigned a file to that variable just above it. Presumably HL1.txt is a file, so -d will return false.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others taking refuge in the Monastery: (7)
As of 2024-04-19 08:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found