more useful options | |
PerlMonks |
Re^3: Entry widget not accepting /by zentara (Archbishop) |
on Oct 05, 2012 at 13:56 UTC ( [id://997480]=note: print w/replies, xml ) | Need Help?? |
I get your code to run, and observe the error of / not being accepted. Your code is a bit complicated, and I will look at it, but just as a first comment I noticed one oddity. If you enter a \ instead of a /, a / will be inserted properly. ?? This link perl-getcwd-ending-forward-slashes may yield a clue. I'm wondering why you even use File::Spec's catdir? The docs say catdir When I comment out all the File::Spec canonpath and catdir lines from your script, it adds a / just fine. I'm not really a human, but I play one on earth. Old Perl Programmer Haiku ................... flash japh
In Section
Seekers of Perl Wisdom
|
|