Let's assume the simplest case - you run the make_path call with the same parameters twice in a row. Assume that the first time the $path does not exist. The second time, since the $path already exists, the function returns a value of (), which is false, triggering the die.
See the documentation for File::Path for more details.
Update: Change the return value from 0 to ()
--MidLifeXis
In reply to Re: Problem with make_path in File::Path
by MidLifeXis
in thread Problem with make_path in File::Path
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |