home *** CD-ROM | disk | FTP | other *** search
/ Netrunner 2004 October / NETRUNNER0410.ISO / regular / ActivePerl-5.8.4.810-MSWin32-x86.msi / _719a53e48d27f2c80365f90b8c7d29ca < prev    next >
Encoding:
Text File  |  2004-06-01  |  505 b   |  23 lines

  1. # NOTE: Derived from blib\lib\Tk\Frame.pm.
  2. # Changes made here will be lost when autosplit is run again.
  3. # See AutoSplit.pm.
  4. package Tk::Frame;
  5.  
  6. #line 363 "blib\lib\Tk\Frame.pm (autosplit into blib\lib\auto\Tk\Frame\FindMenu.al)"
  7. sub FindMenu
  8. {
  9.  my ($w,$char) = @_;
  10.  my $child;
  11.  my $match;
  12.  foreach $child ($w->children)
  13.   {
  14.    next unless (ref $child);
  15.    $match = $child->FindMenu($char);
  16.    return $match if (defined $match);
  17.   }
  18.  return undef;
  19. }
  20.  
  21. 1;
  22. # end of Tk::Frame::FindMenu
  23.