Lightning flashed, thunder crashed and EriK W <[EMAIL PROTECTED]> whispered:
| Excellent!
|
| Thank you all for your help!
|
| I am going to spend more time on man pages or beginners book.
|
| What is the best beginners book in you opinion?
Currently, I like "A Little Book on Perl" by Robert S
Excellent!
Thank you all for your help!
I am going to spend more time on man pages or beginners book.
What is the best beginners book in you opinion?
Thank you very much!
On Wed, 11 Jul 2001 12:07:47 -0400
"Stephen P. Potter" <[EMAIL PROTECTED]> wrote:
> Lightning flashed, thunder crashed
Lightning flashed, thunder crashed and Erik W <[EMAIL PROTECTED]> whispered:
| Thanks a lot, then what << means?
| $$<<15 ???
It seems to me that you need to spend some time with a good beginners book,
such as Randal's. Or, at least, the man pages. These questions are easily
answered with a qui
. Armstrong
Lost .sig in format
-Original Message-
From: Walt Mankowski [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 11, 2001 12:50 AM
To: [EMAIL PROTECTED]
Subject: Re: Hi, what time() ^ $$ means?
On Wed, Jul 11, 2001 at 12:34:37AM -0400, Walt Mankowski wrote:
> On Tue, Jul 10, 2001 at
On Wed, Jul 11, 2001 at 12:34:37AM -0400, Walt Mankowski wrote:
> On Tue, Jul 10, 2001 at 07:27:04PM -0700, Erik W wrote:
> > $$<<15 ???
>
> This shifts the value of $$ 15 bits to the left, which is the same as
> multiplying $$ by 2**15.
I forgot to reference the code you were referring to:
>>
On Tue, Jul 10, 2001 at 07:27:04PM -0700, Erik W wrote:
> Thanks a lot, then what << means?
>From perldoc perlop...
Binary "<<" returns the value of its left argument shifted left
by the number of bits specified by the right argument.
Arguments should be integers. (See also
On Tue, Jul 10, 2001 at 09:56:55PM -0400, Jeff 'japhy' Pinyan wrote:
> Just so you know, you don't need to call srand() in modern versions of
> Perl.
Unless, of course, you want to seed the random number generator to a
specific value. :-)
Walt
Am Dienstag, 10. Juli 2001 21:27 schrieb Erik W:
> --- "Stephen P. Potter" <[EMAIL PROTECTED]>
>
> wrote:
> > Lightning flashed, thunder crashed and Erik W
> >
> > <[EMAIL PROTECTED]> whispered:
> > | time() ^ $$
> > |
> > | What ^ and $$ mean here?
> > |
> > | ^ bit xor?
> > | $$ logic and?
>
--- "Stephen P. Potter" <[EMAIL PROTECTED]>
wrote:
> Lightning flashed, thunder crashed and Erik W
> <[EMAIL PROTECTED]> whispered:
> | time() ^ $$
> |
> | What ^ and $$ mean here?
> |
> | ^ bit xor?
> | $$ logic and?
>
> $$ is a special variable that is the process ID of
> the currently ru
Lightning flashed, thunder crashed and Erik W <[EMAIL PROTECTED]> whispered:
| time() ^ $$
|
| What ^ and $$ mean here?
|
| ^ bit xor?
| $$ logic and?
$$ is a special variable that is the process ID of the currently running
process. So, this is returning the bitwise xor of the return of tim
On Jul 10, Erik W said:
>when I read the book, I saw they generate and seed by
>using
Just so you know, you don't need to call srand() in modern versions of
Perl.
>^ bit xor?
Yes.
>$$ logic and?
Nope, that'd be &&. $$ is the process ID (or PID) variable. Check
'perlvar'.
--
Jeff "ja
Hi gurus,
I have a dumb question,
when I read the book, I saw they generate and seed by
using
time() ^ $$
What ^ and $$ mean here?
^ bit xor?
$$ logic and?
Thanks in advance!
__
Do You Yahoo!?
Get personalized email addresses from Yahoo!
12 matches
Mail list logo