okay, this is definitely a Tk or GUI issue, since incorporating a for
real "print" (ie. to STDOUT) statement does come out in proper sequence.
Does anyone know if there is a filehandle other than STDOUT for tk
requests?
The simplest version of the problem:
use IO::Handle;
sub tmptest {
PROBLEM SOLVED on comp.lang.perl.tk:
$MW->update; # whenever you want the screen updated
On 02/18/2008 09:46:51 AM, MK wrote:
okay, this is definitely a Tk or GUI issue, since incorporating a for
real "print" (ie. to STDOUT) statement does come out in proper
sequence.
--
To unsubsc
On Feb 17, 2008 3:48 PM, Rob Dixon <[EMAIL PROTECTED]> wrote:
> use IO::Handle;
> STDOUT->autoflush;
>
> to the start of your program.
What's the difference from this to setting $| to true?
--
David Moreno - http://www.damog.net/
Yes, you can.
Is there any easy way to get a list of all modules loaded by a Perl script?
--
Mark Wagner
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/
On Feb 18, 2008 6:57 PM, John W. Krahn <[EMAIL PROTECTED]> wrote:
> Mark Wagner wrote:
> > Is there any easy way to get a list of all modules loaded by a Perl script?
>
> $ perl -le' use Time::Local; print for keys %INC '
> warnings/register.pm
> Carp.pm
> vars.pm
> strict.pm
> Exporter.pm
> consta
On Feb 18, 2008 11:17 AM, David Moreno <[EMAIL PROTECTED]> wrote:
>
> On Feb 17, 2008 3:48 PM, Rob Dixon <[EMAIL PROTECTED]> wrote:
>
> > use IO::Handle;
> > STDOUT->autoflush;
> >
> > to the start of your program.
>
>
> What's the difference from this to setting $| to true?
snip
In this speci
Mark Wagner wrote:
Is there any easy way to get a list of all modules loaded by a Perl script?
$ perl -le' use Time::Local; print for keys %INC '
warnings/register.pm
Carp.pm
vars.pm
strict.pm
Exporter.pm
constant.pm
Time/Local.pm
warnings.pm
Config.pm
integer.pm
John
--
Perl isn't a toolbox
On Feb 18, 2008 7:52 PM, Gunnar Hjalmarsson <[EMAIL PROTECTED]> wrote:
snip
> > eval "use SomeModule" if $ENV{USE_SOMEMODULE};
> >
> > or the sort of tricks that the DBI and other factory classes use.
>
> What would be the problem with that?
>
> $ perl -le 'eval "use Time::Local"; print for keys %I
Chas. Owens wrote:
On Feb 18, 2008 6:57 PM, John W. Krahn <[EMAIL PROTECTED]> wrote:
Mark Wagner wrote:
Is there any easy way to get a list of all modules loaded by a Perl script?
$ perl -le' use Time::Local; print for keys %INC '
Of course, this assumes the author did not do anything like
Chas. Owens wrote:
On Feb 18, 2008 7:52 PM, Gunnar Hjalmarsson <[EMAIL PROTECTED]> wrote:
snip
eval "use SomeModule" if $ENV{USE_SOMEMODULE};
or the sort of tricks that the DBI and other factory classes use.
What would be the problem with that?
$ perl -le 'eval "use Time::Local"; print for ke
On Feb 18, 2008 9:08 PM, Gunnar Hjalmarsson <[EMAIL PROTECTED]> wrote:
> Chas. Owens wrote:
> > On Feb 18, 2008 7:52 PM, Gunnar Hjalmarsson <[EMAIL PROTECTED]> wrote:
> > snip
> >>> eval "use SomeModule" if $ENV{USE_SOMEMODULE};
> >>>
> >>> or the sort of tricks that the DBI and other factory class
Is Damian Conway's book still the best way to get a good comprehensive
education about doing OO in Perl?
Robert
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/
Okay, thanks, now I understand what you mean.
Chas. Owens wrote:
... to detect what dependencies the code has
Even if dependencies is the subject of this thread, it's not really what
the OP asked about. He simply asked for an "easy way to get a list of
all modules loaded by a Perl script".
On Feb 18, 2008 10:34 PM, Gunnar Hjalmarsson <[EMAIL PROTECTED]> wrote:
> Okay, thanks, now I understand what you mean.
>
> Chas. Owens wrote:
> > ... to detect what dependencies the code has
>
> Even if dependencies is the subject of this thread, it's not really what
> the OP asked about. He simpl
On Feb 18, 2008 10:50 PM, Rodrick Brown <[EMAIL PROTECTED]> wrote:
> Just use Python *ducks*
snip
And which of Python's object systems should I use? *ducks as well*
--
Chas. Owens
wonkden.net
The most important skill a programmer can have is the ability to read.
--
To unsubscribe, e-mail: [EMA
On Feb 18, 2008 10:50 PM, Rodrick Brown <[EMAIL PROTECTED]> wrote:
> Just use Python *ducks*
> --
> Rodrick R. Brown
> http://www.rodrickbrown.com
/me gets out the hunting rifle... :P
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.per
Just use Python *ducks*
On Feb 18, 2008 10:17 PM, Robert Hicks <[EMAIL PROTECTED]> wrote:
> Is Damian Conway's book still the best way to get a good comprehensive
> education about doing OO in Perl?
>
> Robert
>
> --
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [
17 matches
Mail list logo