gt; > > {
> > > $c = localtime();
> > > return $c;
> > > }
> > >
> > > so whenever i call insert method , it shud call function gettime
> > > and print the latest time in the text box
> > > please suggest
> > >
> > > re
o whenever i call insert method , it shud call function gettime
> > and print the latest time in the text box
> > please suggest
> >
> > regards
> > irfan
> >
> >
> >
> >
> >
> >
> > From: Jim G
thanks.
it worked!
regards
irfan
From: Shekar
To: Irfan Sayed
Cc: Jim Gibson ; Perl Beginners
Sent: Friday, August 24, 2012 12:23 PM
Subject: Re: insert in perl tk
Try this.
$t->insert("end", &gettime);
--
Shekar
On Fri, Aug 24, 2012 at 11:58 AM, Irfan Sayed
$c = localtime();
> return $c;
> }
>
> so whenever i call insert method , it shud call function gettime and print
> the latest time in the text box
> please suggest
>
> regards
> irfan
>
>
>
>
>
>
> From: Jim Gibson
>
_
From: Jim Gibson
To: Perl Beginners
Sent: Friday, August 24, 2012 11:13 AM
Subject: Re: insert in perl tk
On Aug 23, 2012, at 9:35 PM, Irfan Sayed wrote:
> thanks. this will help to print the contents of array on separate line.
> however, if at all we need to ca
On Aug 23, 2012, at 9:35 PM, Irfan Sayed wrote:
> thanks. this will help to print the contents of array on separate line.
> however, if at all we need to call function then what is the syntax, how we
> can call that ?
What function do you want to call? When do you want to call it? What does the
Sent: Thursday, August 23, 2012 11:40 PM
Subject: Re: insert in perl tk
On Thu, 23 Aug 2012 10:51:09 -0700 (PDT)
Irfan Sayed wrote:
> i need to print the contents of array on separate line , so , i
> thought , i should write one function where i will print the contents
> of array on
On Thu, 23 Aug 2012 10:51:09 -0700 (PDT)
Irfan Sayed wrote:
> i need to print the contents of array on separate line , so , i
> thought , i should write one function where i will print the contents
> of array on each line
Do you mean you want each item from an array on each line? If so:
$t-
On Aug 23, 2012, at 10:51 AM, Irfan Sayed wrote:
> it was quite rude. anyway
What was quite rude?
> lets say if i have to display the contents of array using insert method.
> if i just type : $t->insert("end", "@arr1");
> then surely , it will print the contents of array but on the same line
2012 10:54 PM
Subject: Re: insert in perl tk
On Thursday, August 23, 2012 at 10:15 AM, Irfan Sayed wrote:
> can someone please suggest ?
>
Explain what you're actually trying to achieve, instead of asking how to do
what you think will let you accomplish what you're trying t
On Thursday, August 23, 2012 at 10:15 AM, Irfan Sayed wrote:
> can someone please suggest ?
>
Explain what you're actually trying to achieve, instead of asking how to do
what you think will let you accomplish what you're trying to achieve.
Yes, if you write the insert() method properly, you cou
can someone please suggest ?
regards
irfan
From: Irfan Sayed
To: "beginners@perl.org"
Sent: Thursday, August 23, 2012 4:15 PM
Subject: insert in perl tk
hi,
can we call function in the insert method of perl tk ?
i have code like this:
$t-&g
hi,
can we call function in the insert method of perl tk ?
i have code like this:
$t->insert("end", "\&abc");
so when this line gets executed, it should first call function abc
please suggest
regards
irfan
13 matches
Mail list logo