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
>
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
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:
$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
>"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
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
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
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
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
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
10 matches
Mail list logo