in reply to Re: maybe, a corrupt selected entry in Tk::BrowseEntry
in thread maybe, a corrupt selected entry in Tk::BrowseEntry
Please show us what $cpath actually contains, instead of describing it as "visually the same". See $Data::Dumper::Useqq for how to make Data::Dumper output invisible characters.the value in a @folders array element:
Also, consider trying to find out what triggers the "sometimes" situations. You might also want to record more information, like whether $file_system{ $cpath } exists instead of blindly grabbing its value.I gave examples in my code that I was testing it for existence. A wish to solve what triggers, is exactly, the reason I posted the question, because, I've been trying to solve this problem for a one a half of the day already.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: maybe, a corrupt selected entry in Tk::BrowseEntry
by Corion (Patriarch) on Dec 22, 2014 at 16:22 UTC |