home *** CD-ROM | disk | FTP | other *** search
/ Netrunner 2004 October / NETRUNNER0410.ISO / regular / ActivePerl-5.8.4.810-MSWin32-x86.msi / _28084fe0684456b3959c10ac94895fe8 < prev    next >
Encoding:
Text File  |  2004-06-01  |  492 b   |  20 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 325 "..\blib\lib\Tk\Listbox.pm (autosplit into ..\blib\lib\auto\Tk\Listbox\POP.al)"
  7. # POP
  8. # ---
  9. # Remove last element of the array and return it
  10. sub POP {
  11.    my $class = shift;
  12.  
  13.    my $value = ${$class->{OBJECT}}->get('end');
  14.    ${$class->{OBJECT}}->delete('end');
  15.    return $value;
  16. }
  17.  
  18. # end of Tk::Listbox::POP
  19. 1;
  20.