RE: Don't try sending .bat attachments to this group.

2001-11-21 Thread Mike Prozinski
m: $Bill Luebkert [mailto:[EMAIL PROTECTED]] Sent: Tuesday, November 20, 2001 3:52 PM To: Mike Prozinski Cc: Perl Subject: Re: Don't try sending .bat attachments to this group. Mike Prozinski wrote: > FYI: I replied to someone's question and included an attached .bat file. So >

RE: Opera and "Open Default Browser", Hard Crash?

2001-06-28 Thread Mike Prozinski
I use Opera as my default browser, have for a long time. Current version is 5.11. I tried: #Note the use of forward slashes my $url = 'http://www.yahoo.com'; system("c:/progra~1/opera/opera.exe $url"); This started Opera. A window was up saying "Opera is not your default browser, would you like

RE: logic problems in while loop resend

2001-05-10 Thread Mike Prozinski
I think reading the files into a hash would help here. Try this code: This code prints: Old inventory for a is 10:10 Old inventory for b is 10:10 Old inventory for c is 15:07 Old inventory for d is 12:10 new inventory for a is 10:10:09 new inventory for b is 10:10:05 new inventory for c is 15:

RE: substitution on a file

2001-05-03 Thread Mike Prozinski
$oldWord = "Orange"; $newWord = "Apple"; $^I=".bk"; while () { $_ =~ s/[^\w]$oldWord/$newWord/g; print; } __DATA__ Orange MyOrange Orange Orange Apples and Oranges *** Prints: Orange MyOrange Apple Apple Apples andApples Notice that it replaced the space in

RE: request

2001-02-16 Thread Mike Prozinski
>"please solve this problem and mail me." Are you kidding me? I think you need to read this article on why questions go unanswered. http://perl.plover.com/Questions.html -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of P.V.Sankar Sent: Wednesday, Febr

RE: Splitting to a hash

2001-02-08 Thread Mike Prozinski
You don't need to use split TMTOWTDI Try using regular expressions: Change the pattern if it doesn't exactly meet your needs. (. will match any single character). while(){ chomp; if (/(.):(.)/) { $testhash{$1}=$2; #Results of reg exp are stored in $1 and $2

RE: error code-uninitialized value in concatenation

2001-01-19 Thread Mike Prozinski
rom: Quinn, Colleen [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 18, 2001 1:35 PM To: 'Mike Prozinski' Subject: RE: error code-uninitialized value in concatenation Mike, Thanks for the help & no I don't wanna do MEDIA & LANG_LIST = 2...suggestions? As I am so close to

RE: stdin and EOF

2001-01-17 Thread Mike Prozinski
On windows, you need to press enter before and after ctrl-Z. You need ctrl-Z at the beginning of the line, (there can some text after the ctrl-Z), and then you need to press enter to process that line of std input. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Be

RE: No line breaks? (Was: RE: Processing entire file at once)

2001-01-17 Thread Mike Prozinski
I think this is a problem with PelrMx. I get these as well, and had the same problem with the message you included. It makes it quite difficult to read them. In all of the messages that are like this, I see a line in the header that is like: X-MIME-Autoconverted: from quoted-printable to 8bit b

RE: Hostname

2000-11-10 Thread Mike Prozinski
you could try something like: nslookup `hostname` and parsing out the address from it. When I do this command on all of our UNIX machines (HP-UX) it always has the fully qualified hostname in the output. This may depend on the dns servers, but could work for you... -Original Message- F