Problem: If I open an Win32::FileOp::OpenDialog from within a Tk window the
OpenDialog leaves footprints all over my Tk Main window when it is moved
over the main Tk window.
I have tried binding the main Tk window with Events that would update its
view such as , , to see if will get
repainted. I
Attache is my test code:
while () {
print "$_";
}
I call it via C:>prac.pl < testone.txt
The testone.txt file has three lines of text in it. The program runs and
emits a single newline, but no text. It is as if it cannot recognize the
input information. This is why I was wondering if there
Carl Jolley wrote:
> On Thu, 3 Apr 2003, Daniel Gross wrote:
>
> > Hello,
> >
> > I am trying to find all files that have zero size, but it doesn't work
> > -- why?
> >
> >
> > my @tmpArray = glob("$dirName/*.tif");
> > my @zeroFiles = getZeroSizeTiffs(@tmpArray);
> >
> > sub getZeroSizeTiffs {
You shouldn't have to do anything at all --- if you post a simple program
that you believe should work you will get more help.
-Kevin
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Peter
Eisengrein
Sent: Friday, April 04, 2003 2:01 PM
To: '[EMAIL PROTECTE
Does it truly need to be redirected, or can you just use @ARGV
?
-Original Message-From: Bernard Golden
[mailto:[EMAIL PROTECTED]Sent: Friday, April 04, 2003 1:17
PMTo: [EMAIL PROTECTED]Subject:
input redirection question
I want to enable
my program to read from STDIN v
Thanks James, Tobias, Roger, and Randy, for your advice.
In summary, creation of a "Formatter" object that acts upon a Table object
seems to be the Right Thing to do. I will create an abstract base class
"My::Table::Formatter" that is to be subclassed by
My::Table::Formatter::HTML and other "plugi
I want to enable my
program to read from STDIN via input redirection, e.g.: myprogram <
getstuff
When I try it on my
machine the program does not see the input. Is there something I should be
configuring my machine with to enable it to see redirected input? Many
thanks.
Bernard
Gold
On Thu, 3 Apr 2003, Daniel Gross wrote:
> Hello,
>
> I am trying to find all files that have zero size, but it doesn't work
> -- why?
>
>
> my @tmpArray = glob("$dirName/*.tif");
> my @zeroFiles = getZeroSizeTiffs(@tmpArray);
>
> sub getZeroSizeTiffs {
> my (@tiffFiles) = @_;
>
> my @z
> -Original Message-
> From: Thomas, Mark - BLS CTR [mailto:[EMAIL PROTECTED]
> Sent: Friday, April 04, 2003 11:28 AM
> To: Tillman, James; Thomas, Mark - BLS CTR;
> [EMAIL PROTECTED]
> Subject: RE: Perl OO Question: subclass using parent object's methods,
> not ove rridden methods?
>
>
>
> I think, perhaps, a little better description of
> what you're
> trying to accomplish with all this OOP might help others give
> you better
> advice. Maybe a high-level description of what's desired and
> what made you try OO in the first place?
OK, let me back up a little and give you some
> -Original Message-
> From: Thomas, Mark - BLS CTR [mailto:[EMAIL PROTECTED]
> Sent: Friday, April 04, 2003 10:42 AM
> To: Tillman, James; Thomas, Mark - BLS CTR;
> [EMAIL PROTECTED]
> Subject: RE: Perl OO Question: subclass using parent object's methods,
> not ove rridden methods?
>
>
> It's necessary because by calling "bless" you are doing what
> should have
> been done in the missing object constructor I mentioned
> above. You are
> taking the reference and placing it in a different namespace (the
> My::Table::HTML namespace). Once you've done that, calls to
> the object
Hello World!
I'm using Tk for a GUI, and I have a menu item that opens an instructions
window.
If I already have the instructions window opened somewhere, I want to bring
it to the foreground, rather than opening another window.
To this end, I can only see this way of doing it.
First, near the
Lawrence F. Durfee wrote:
Cameron wrote:
In the old days (literally, last year), installing a web server on
Window$ WAS a big deal. But not anymore. ... download the latest
>> Apache 2.0 server binary (2.0.44?) for Window$, ...
Cameron,
I am using a very capable Pentium based PC running Win2k
opendir(DIR, "path_to_/logon/input/") or die "\nCannot open Dir to
read.\nError: $!";
my @contents = readdir DIR;
closedir(DIR);
my @log_files = grep (/\.log$/) @contents;
foreach (@log_files) {
rename("path_to_/login/inputs/$_", "path_to_/logon_logs/$_");
print "Moved: path_to_/login/inp
Yes! In fact I have done just that, although I didn't call it Formatter. I
like the name Formatter better, thanks for the idea. Currently it's just an
empty namespace, as I don't have any common code (yet) to put in the base
class.
I do call it on the fly by exec()ing 'use $formatter_name'. But my
> At 04:15 PM 4/3/2003 -0500, Thomas, Mark - BLS CTR wrote:
> >So my question boils down to this: Can I override methods
> that act on
> >the superclass' object, without having to instantiate a new object?
>
> And my question in response: Didn't my attached code accomplish that?
Your code insta
Cameron wrote:
>Date: Wed, 02 Apr 2003 14:56:38 -0600
>From: Cameron Dorey <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>Subject: Re: HTML forms to a file
>
>Lawrence F. Durfee wrote:
>> Cameron Dorey wrote:
>>
>>>Just have your form ACTION be a small perl script which writes your
>>>input to a file.
Click
on IE's Tools->Internet Options menu option, which will bring up a dialog
box. in the "Advanced" tab, you will find a "Reuse windows for launching
shortcuts" option. (This used to be called "Browse in a new process", so
depending on your IE version, it may vary). Check this box, and
> -Original Message-
> From: Thomas, Mark - BLS CTR [mailto:[EMAIL PROTECTED]
> Sent: Thursday, April 03, 2003 3:01 PM
> To: [EMAIL PROTECTED]
> Subject: Perl OO Question: subclass using parent object's methods, not
> ove rridden methods?
>
>
> I have a module, let's call it My::Table, wh
At 06:31 2003-04-04 -0500, Stuart Arnold wrote:
It prints out that the $img and $bname are all ok,eg they exist and that
$img has a value.
I'm using ActiveState PERL 560.
The window displays and shows a blank button. The bitmap is 20x20 and I've
put the width/height to be 100,100 to see if thats
If all you need to do is seperate the array with spaces, you could use the
following code snippet:
$" = ' ';
print FILE "@array";
The $" variable is the list seperator special variable. This may be faster
than doing the join.
Troy
- Original Message -
From: "Daniel Gross" <[EMAIL PROTE
Title: Message
I've been trying to use
Win32::GUI:Bitmap() and to no success.
Here's the code
sniplet:
...mainwindow built before
this...
my ($img, $btn,
$bname);
$bname =
"listbox.bmp"; print "bitmap is
$bname\n"; if( -e $bname )
{ $img = new Win32::GUI::Bitmap(
Hello,
I am controlling an IE windows with OLE, but
surfing on the web in the same time cause this windows to be grabbed on every
popup window.
Is their a solution to prevent my IE windows from
being kidnapped like this?
Thanks,
Thomas
24 matches
Mail list logo