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

Re^3: Unit test - check file created using test::directory

by Bloodnok (Vicar)
on Jul 04, 2014 at 15:10 UTC ( [id://1092311]=note: print w/replies, xml ) Need Help??


in reply to Re^2: Unit test - check file created using test::directory
in thread Unit test - check file created using test::directory

Aha, looking at Test::Direcory, I would infer that the remove_files() and remove_directories() methods are used to remove files &/or directories from within the directory created by the constructor i.e. personally, I would expect the call $dir->remove_directories($log_dir); to fail because $log_dir is not a subdirectory of itself, the clean() method takes no args and is/should be used to rmdir the directory created by the constructor i.e. $log_dir.

HTH ,

A user level that continues to overstate my experience :-))

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (2)
As of 2024-04-20 05:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found