please find the attached .
what i am looking for is, need to destroy the window $mw1 once the text entered 
in scrolled text window
i just want to destroy $mw1 and not entire application 


please suggest .


regards,
irfan



________________________________
 From: Shlomi Fish <shlo...@shlomifish.org>
To: Perl Beginners <beginners@perl.org> 
Sent: Tuesday, September 4, 2012 6:07 PM
Subject: Re: destroy widget
 
Hi Irfan,

On Tue, 4 Sep 2012 05:01:11 -0700 (PDT)
Irfan Sayed <irfan_sayed2...@yahoo.com> wrote:

> hi,
> 
> i have following code to get the user input :
> 
> $mw1 = MainWindow->new;
>    $mw1->geometry( "200x100" );
>    $mw1->title("Client Workspace");
>    $mw1->Label(
>            -text => "Enter the Perforce client name:"
>        )->pack(-anchor=>'center');
>        


Please:

1. Provide a complete, self-contained, and minimal, example, as one Perl 
program:

http://shadow.cat/blog/matt-s-trout/show-us-the-whole-code/

2. Make sure it complies with http://perl-begin.org/tutorials/bad-elements/ .

---

Otherwise, we cannot debug a partial program that does not compile and run.

Best regards,

    Shlomi Fish




-- 
-----------------------------------------------------------------
Shlomi Fish       http://www.shlomifish.org/
My Aphorisms - http://www.shlomifish.org/humour.html

Tel Aviv, a functional definition: free parking space‐free space.
    — Shachar Shemesh ( http://blog.shemesh.biz/?p=435 )

Please reply to list if it's a mailing list post - http://shlom.in/reply .

--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/

Attachment: test.pl
Description: Binary data

-- 
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/

Reply via email to