Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: Perl Tk & passing directories

by Shendal (Hermit)
on Aug 13, 2002 at 15:58 UTC ( #189839=note: print w/ replies, xml ) Need Help??


in reply to Perl Tk & passing directories

Maybe something like this will point you in the right direction?

#!/usr/bin/perl -w use strict; use Tk; use Tk::FileSelect; my $top = new MainWindow; my $entry = $top->Entry()->pack(-side => 'left'); my $fs = $top->FileSelect(-verify => [qw/-d/]); my $dir = $fs->Show(); $entry->insert('end',$dir); MainLoop();

Cheers,
Shendal


Comment on Re: Perl Tk & passing directories
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://189839]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (10)
As of 2015-07-31 04:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (274 votes), past polls