/usr/share/doc/libcdk-perl/examples/fselect is in libcdk-perl 4.9.10-5.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 | #!/usr/bin/perl -w
# $Id: fselect,v 1.2 2002/07/27 20:11:17 tom Exp $
#
# Purpose:
# To demonstrate the Perl5 Cdk file selector widget.
#
# Load in the Cdk Extension.
#
use Cdk;
Cdk::init();
# Create the file selector.
my $fselect = new Cdk::Fselect ('Label' => "</B/16>Filename:",
'Filler' => "</B/24>_",
'Height' => 0,
'Width' => 0);
# Activate the object.
$fselect->set ('ULChar' => "#");
my $filename = $fselect->activate();
# Check the results.
if (! defined $filename)
{
popupLabel (["<C>You hit escape. No file selected."]);
}
else
{
popupLabel (["<C>You selected the following file", "<C>($filename)"]);
}
# Exit Cdk.
Cdk::end();
|