Created
April 7, 2011 19:36
-
-
Save anonymous/908526 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package WebGUI::Form::MyOwnSpecialSelect; | |
use base 'WebGUI::Form::SelectList'; | |
use Tie::IxHash; | |
# tell Perl that we're loaded and where from | |
# note that this code is in WebGUI/Asset/Wobject/WhatFileThisIsActuallyReallyIn.pm and WebGUI/Form/MyOwnSpecialSelect.pm only exists in our and perl's imagination | |
BEGIN { $INC{'WebGUI/Form/MyOwnSpecialSelect.pm'} = $INC{'WebGUI/Asset/Wobject/WhatFileThisIsActuallyReallyIn.pm'}; }; | |
sub definition { | |
my $class = shift; | |
my $session = shift; | |
my $definition = shift || []; | |
... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment