Hi Phoenix, Thanks for the reply. But seems I have no luck with that ! Please see attached screen capture and here's my code. My basic code is simply like this :
use Tk;
my $mw = MainWindow -> new();
my $x = $mw -> getOpenFile ;
$mw -> Label ( -text=>$x ) -> pack();
open F , $x or $mw -> Label ( -text=> "$! ---> $x " ) -> pack();
$mw -> MainLoop;
So is there any clues to open file in such case ??
Thank you very much,
Panda-X
2007/10/18, Tom Phoenix <[EMAIL PROTECTED]>:
>
> On 10/17/07, Panda-X <[EMAIL PROTECTED]> wrote:
>
> > I have tried to use utf8, and I can print the file name in right
> "string",
> > but when I try to open the file and read. It happens "No such file or
> > directory".
>
> Sometimes, two different strings can seem identical on-screen. Can you
> use readdir or glob to find out the real name of files and
> directories? The values you get back should ("should") work when you
> need to open a file.
>
> Good luck with it!
>
> --Tom Phoenix
> Stonehenge Perl Training
>
<<attachment: getOpenFile.jpg>>
-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/
