For Programmers: Free Programming Magazines  


Home > Archive > PerlTk > December 2007 > Trigger Code execution on particular events









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Trigger Code execution on particular events
Pravin

2007-12-14, 4:17 am

Hi,

is there any perl/tk equivalent of Form_Load, Form_Unload as in VB
i wanted to know...is there any way i could trigger a particular
subroutine to run whenever an event like (suppose) Form Load has
happened?

regards,
Pravin
QoS@domain.invalid

2007-12-14, 8:04 am


Pravin <prabhu.pravin@gmail.com> wrote in message-id: <af540f71-2f3e-4dc5-a4dd-c5f3cbf03208@d27g2000prf.googlegroups.com>

>
> Hi,
>
> is there any perl/tk equivalent of Form_Load, Form_Unload as in VB
> i wanted to know...is there any way i could trigger a particular
> subroutine to run whenever an event like (suppose) Form Load has
> happened?
>
> regards,
> Pravin



You might want to check out Perls' BEGIN and END blocks.

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com