Gossamer Forum
Home : General : Perl Programming :

Pattern Matchin

(Page 2 of 2)
> >
Quote Reply
Re: [PaulW] Pattern Matchin In reply to
Umm. No. I'm preety sure I'm right. Have you tried it?

- wil
Quote Reply
Re: [Wil] Pattern Matchin In reply to
Ugh, why do you think I asked the question?...because I knew you'd come up with the wrong answer

Of course I tested it.

Last edited by:

PaulW: Nov 22, 2001, 6:30 AM
Quote Reply
Re: [PaulW] Pattern Matchin In reply to
Well I actually tested them after you posted your message and both come back with 7.

- wil
Quote Reply
Re: [Wil] Pattern Matchin In reply to
print (1+2) +4;

...doesn't print 7 for me Tongue

Last edited by:

PaulW: Nov 22, 2001, 7:36 AM
Quote Reply
Re: [PaulW] Pattern Matchin In reply to
$num = (1+2) +4;
print $num;

prints 7 for me.

?

- wil
Quote Reply
Re: [Wil] Pattern Matchin In reply to
print (1+2) +4;

_NOT_

$num = bla;

print $num..
Quote Reply
Re: [PaulW] Pattern Matchin In reply to
So why do you get 3 then?

- wil
> >