Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: Read Directory

by thanos1983 (Parson)
on May 26, 2017 at 10:47 UTC ( [id://1191278]=note: print w/replies, xml ) Need Help??


in reply to Read Directory

Hello Nansh,

As all the monks have already advised you, you need to use the $path when you are moving around. Alternatively you can use the chdir e.g. chdir('path/to/dir') or die "$!"; to switch to the directory remember to use it every time you move around.

Hope this helps.

Seeking for Perl wisdom...on the process of learning...not there...yet!

Log In?
Username:
Password:

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

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

    No recent polls found