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 / _43c4b8fa91930d9d5be7ec7962b40623 < prev    next >
Encoding:
Text File  |  2004-04-13  |  516 b   |  19 lines

  1. # NOTE: Derived from blib\lib\Tk.pm.
  2. # Changes made here will be lost when autosplit is run again.
  3. # See AutoSplit.pm.
  4. package Tk;
  5.  
  6. #line 628 "blib\lib\Tk.pm (autosplit into blib\lib\auto\Tk\Selection.al)"
  7. # These wrappers don't use method syntax so need to live
  8. # in same package as raw Tk routines are newXS'ed into.
  9.  
  10. sub Selection
  11. {my $widget = shift;
  12.  my $cmd    = shift;
  13.  croak 'Use SelectionOwn/SelectionOwner' if ($cmd eq 'own');
  14.  croak "Use Selection\u$cmd()";
  15. }
  16.  
  17. # end of Tk::Selection
  18. 1;
  19.