[問題] perl/tk getOpenFile
各位先進前輩 打給候…
小弟perl初學者,剛study完Perl學習
手冊[6版].主要是想做一些gui界面在Li
-nux系統上,perl/tk的相關資料來自網
路.
這兩天在使用 getOpenFile時遇到一
些小問題想向各位請教
關於隱藏檔,在開檔時如何不
顯示點(.)開頭的檔案呢?
my $test=[ ['perl files' , '.pl'] ,
['all files' , '*'] ,
];
my $button=$mw->Button(
-text=>"Load",
-command=>\&test,
);
sub test {
my $button=$mw->getOpenFile(
-filetypes=>$test,
-defaultextension=>'.pl' ,
);
星號要如何處理才能不顯示隱藏檔
呢?
感謝各位幫忙!
--
Sent from my Android
--
※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 42.75.224.11
※ 文章網址: https://www.ptt.cc/bbs/Perl/M.1425352046.A.6D3.html
推
03/14 12:56, , 1F
03/14 12:56, 1F
→
03/14 12:56, , 2F
03/14 12:56, 2F
→
03/14 12:57, , 3F
03/14 12:57, 3F
→
03/14 13:02, , 4F
03/14 13:02, 4F
→
03/14 13:04, , 5F
03/14 13:04, 5F
→
03/14 13:05, , 6F
03/14 13:05, 6F
→
03/14 13:05, , 7F
03/14 13:05, 7F
→
03/14 13:05, , 8F
03/14 13:05, 8F
→
03/14 13:05, , 9F
03/14 13:05, 9F
→
03/14 13:05, , 10F
03/14 13:05, 10F
→
03/14 13:05, , 11F
03/14 13:05, 11F
→
03/14 13:08, , 12F
03/14 13:08, 12F
推
03/14 13:43, , 13F
03/14 13:43, 13F
推
03/14 13:46, , 14F
03/14 13:46, 14F
推
03/15 09:36, , 15F
03/15 09:36, 15F
→
03/15 09:37, , 16F
03/15 09:37, 16F
→
03/15 09:39, , 17F
03/15 09:39, 17F
→
03/15 09:42, , 18F
03/15 09:42, 18F
Perl 近期熱門文章
PTT數位生活區 即時熱門文章