Re: Getting directory name from a FileSelection widget?
- From: Dermot Musgrove <dermot glade perl connectfree co uk>
- To: Jason Bodnar <jason shakabuku org>
- Cc: gtk-perl-list gnome org
- Subject: Re: Getting directory name from a FileSelection widget?
- Date: Tue, 04 Jun 2002 20:36:23 +0100
Jason Bodnar wrote:
How do you get the directory name from a FileSelection widget? Is there
something like get_filename but get_directory?
Hi,
use File::Basename qw( dirname );
my $dir = dirname($fileselection->get_filename);
regards, Dermot
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]