Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
--------------------------------------------------------------------------------sub createAccount { my( $Username_arr, $Name_arr, $Password_arr, $PassCheck_arr, $Email_arr, $Sylabus_arr, $Instrument_arr, $Theory_arr, $Practical_arr ) = @_; my $username = $Username_arr->get; my $name = $Name_arr->get(); my $password = $Password_arr->get(); my $passconfirm = $PassCheck_arr->get(); my $email = $Email_arr->get(); my $syll = $Sylabus_arr->get(); my $inst = $Instrument_arr->get(); my $theory_g = $Theory_arr->get(); my $practical_g = $Practical_arr->get(); my $test = new MainWindow; $test->title( $Username_arr ); $test->geometry("335x160"); } return true;
--------------------------------------------------------------------------------my $CreateUser = $CreateAcct->Button( -text => "Create Account", -command => sub{createAccount($txtNewUName,$txtNewName,$txtNe +wPassword,$txtNewCPassword,$txtNewEmail,$ListNewSyl l,$ListNewInst,$txtNewTheory,$txtNewPractical)} )->pack;
Edited 2004-02-23 by Ovid -- Added code tags. Did not change other formatting other than to remove an errant left square bracket.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Perl TK Problem!
by Grygonos (Chaplain) on Feb 23, 2004 at 20:12 UTC | |
by Anonymous Monk on Feb 24, 2004 at 15:32 UTC | |
|
Re: Perl TK Problem!
by zentara (Cardinal) on Feb 24, 2004 at 15:20 UTC | |
| A reply falls below the community's threshold of quality. You may see it by logging in. |