RE: Regarding Regular Expressions...

2000-05-27 Thread Dunnigan,Jack [Edm]
If you do a @sessuses = ($line=~m/.[^']\=\s*(Session|Form|QueryString|Application|ServerVariables)\( \"(.+?)\"\)/gi); then your expression should be saved in $1 J. -Original Message- From: Justin Rogers [mailto:[EMAIL PROTECTED]] Sent: Friday, May 26, 2000 11:49 PM To:

RE: Perl Regular Expressions

2000-05-27 Thread Dunnigan,Jack [Edm]
If you are converting a 'string' then you must escape the backslash. Try running this: ##--perl--## while (DATA){ s/\\r/\r/gi; print; } __END__ Here are \r some \r slash \r r's for your \r substitution. # Regards, Jack

RE: How to disable maximise/minimise/close button in Perl/Tk wind ow?

2000-05-22 Thread Dunnigan,Jack [Edm]
You are supposed to be able to do this using the Tk::Mwm module on Unix. However, this doesn't seem to exist on Win32...I assume because it does not use Motif Window Manager. Anyways, there are two other options (with drawbacks): 1. $top-overrideredirect(1); - This will get rid of the

RE: Perl/Tk

2000-05-20 Thread Dunnigan,Jack [Edm]
Assuming you have ActiveState installed. Get a MSDos prompt.. While online...type in ppm.. ppm install Tk ppm quit That's all. Jack PS..AS just upgraded to Tk800.022..I have installed and run the widget program successfully on build 613 (perl5.6.0) everything is running A-OK. -Original

Thank You ActiveState - Please one more thing

2000-05-19 Thread Dunnigan,Jack [Edm]
Thank you for upgrading Tk to 800.022. If possible, could you also rebuild Tk::JPEG against this newest Tk? One of my applications absolutely depends on this module. Thanks again. Jack --- You are currently subscribed to perl-win32-users as: [archive@jab.org] To unsubscribe, forward this

RE: help with this starnge flow

2000-05-18 Thread Dunnigan,Jack [Edm]
Try explicitly stating: $number1 = STDIN; chop ($number); I think the will use the last filehandle opened. Jack -Original Message- From: John Zhu [mailto:[EMAIL PROTECTED]] Sent: May 18, 2000 1:02 PM To: Perl-Win32-Users Mailing List Subject: help with this starnge flow Hi, the

Mailing List Server

2000-05-15 Thread Dunnigan,Jack [Edm]
If we sent any messages to the mailing list this past weekend...are they lost forever, or queued up somewhere? Jack --- You are currently subscribed to perl-win32-users as: [archive@jab.org] To unsubscribe, forward this message to [EMAIL PROTECTED] For non-automated Mailing List

RE: Perl/Tk: How do I do a refresh to the main window ?

2000-05-15 Thread Dunnigan,Jack [Edm]
$main-update; -Original Message- From: limor [mailto:[EMAIL PROTECTED]] Sent: May 14, 2000 6:21 AM To: Perl-Win32-Users Mailing List Subject: Perl/Tk: How do I do a refresh to the main window ? To perl/tk users, How do I do a refresh to the main window ?

RE: use Win32::Sound

2000-05-02 Thread Dunnigan,Jack [Edm]
I'm now thinking this is some sort of bug. Try running the following two programs below to see what I mean. ### # --perl-- First Program using 'use' # This should sound like a skipping record album. # Pick a relatively long wavefile to play 3 or 4

RE: writing to file??

2000-05-02 Thread Dunnigan,Jack [Edm]
Why use 'seek' at all? You have already opened the file in 'append mode' which should bring you to the bottom of the file. The '2' in flock may depend on what system you are on. It generally means 'exclusive' lock. Also, I usually use the 'each' function to iterate through a hash...

RE: use Win32::Sound

2000-05-02 Thread Dunnigan,Jack [Edm]
Ouch...that hurts! I'm pretty sure ALL of my scripts containing BEGIN code erroneously has the colon. Thanks Jan, you've saved me years of grief. Jack -Original Message- From: Jan Dubois [mailto:[EMAIL PROTECTED]] Sent: May 2, 2000 3:39 PM To: Dunnigan,Jack [Edm] Cc: Perl-Win32-Users

RE: Trying to parse form

2000-05-02 Thread Dunnigan,Jack [Edm]
This looks like an cgi/html problem, not perl. It isn't finding the correct path. BTW, after your first if{} statement, you might want to change the following if{} statements to elsif{}, since you are only allowing one option. One more suggestion, if this is indeed some sort of 'enter the