hi
i am creating a directory using perl's system command
how can i test that it is created bofore proceeding..
pkraop 0 Newbie Poster
Recommended Answers
Jump to PostYou should use perl to crate the directory:
mkdir("blah") or die "Can't mkdir blah: $!";
but if you are using system() examine the return value of system, see the system documentation for details:
All 3 Replies
KevinADC 192 Practically a Posting Shark
pkraop 0 Newbie Poster
KevinADC 192 Practically a Posting Shark
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.