home *** CD-ROM | disk | FTP | other *** search
/ Australian Personal Computer 2004 July / APC0407D2.iso / workshop / apache / files / ActivePerl-5.6.1.638-MSWin32-x86.msi / _35eb095f020fc0f8fa44bee94452aa23 < prev    next >
Encoding:
Text File  |  2004-04-13  |  425 b   |  19 lines

  1. # NOTE: Derived from ..\blib\lib\Tk\Listbox.pm.
  2. # Changes made here will be lost when autosplit is run again.
  3. # See AutoSplit.pm.
  4. package Tk::Listbox;
  5.  
  6. #line 818 "..\blib\lib\Tk\Listbox.pm (autosplit into ..\blib\lib\auto\Tk\Listbox\deleteSelected.al)"
  7. sub deleteSelected
  8. {
  9.  my $w = shift;
  10.  my $i;
  11.  foreach $i (reverse $w->curselection)
  12.   {
  13.    $w->delete($i);
  14.   }
  15. }
  16.  
  17. # end of Tk::Listbox::deleteSelected
  18. 1;
  19.