RE: Turn off the Progess bar

2007-10-18 Thread Jack D
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Don VanSyckel > Sent: Saturday, June 09, 2007 7:13 PM > To: perl-win32-users@listserv.ActiveState.com > Subject: Turn off the Progess bar > > I have a small program that copies some file and uses th

Re: Turn off the Progess bar

2007-10-18 Thread Sisyphus
- Original Message - From: "Don VanSyckel" <[EMAIL PROTECTED]> To: Sent: Sunday, June 10, 2007 11:13 AM Subject: Turn off the Progess bar >I have a small program that copies some file and uses the Progress Bar on >the > bottom of the TK window to display progress. When the copy is do

Turn off the Progess bar

2007-10-18 Thread Don VanSyckel
I have a small program that copies some file and uses the Progress Bar on the bottom of the TK window to display progress. When the copy is done I'd like to remove the Progress Bar and pop up a second windows saying copy done with an 'OK' to close it. I'm having problems figuring this out. An

Re: #ifdef-like way to make code work on both Windows/Linux?

2007-10-18 Thread Veli-Pekka Tätilä
[EMAIL PROTECTED] wrote: > I have a Perl application that should work on both Windows and Linux. > On Windows I use some of the Windows-specific modules, e.g. > "Win32API::File". So my code have things like: Check perldoc perlvar namely the $^O variable that holds your OS name e.g: C:\>perl -e

RE: #ifdef-like way to make code work on both Windows/Linux?

2007-10-18 Thread Suresh Govindachar
Johan Holmberg asked: > I have a Perl application that should work on both Windows and > Linux. On Windows I use some of the Windows-specific modules, > e.g. "Win32API::File". So my code have things like: > > 1) "use Win32API::File qw( :ALL ) " > 2) use of "constans" like GENERIC_W

#ifdef-like way to make code work on both Windows/Linux?

2007-10-18 Thread johan556
Hi! I have a Perl application that should work on both Windows and Linux. On Windows I use some of the Windows-specific modules, e.g. "Win32API::File". So my code have things like: 1) "use Win32API::File qw( :ALL ) " 2) use of "constans" like GENERIC_WRITE and FILE_SHARE_DELETE. 3) calls to func

Reading from STDIN, my script - thanks to All

2007-10-18 Thread Walter . Laub
Sorry, no attachment allowed ;-) Here is the listing: #!/usr/bin/perl -w ## # Owner : Walter Laub (wla) # # # # Name : smtp_send.pl # # Intention : send mail using SMTP # # Require : perl # # # # 15.10