Re: Hi, what time() ^ $$ means?

2001-07-12 Thread Stephen P. Potter
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

Re: Hi, what time() ^ $$ means?

2001-07-12 Thread EriK W
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

Re: Hi, what time() ^ $$ means?

2001-07-11 Thread Stephen P. Potter
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

RE: Hi, what time() ^ $$ means?

2001-07-11 Thread Gary L. Armstrong
. 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

Re: Hi, what time() ^ $$ means?

2001-07-10 Thread Walt Mankowski
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: >>

Re: Hi, what time() ^ $$ means?

2001-07-10 Thread Walt Mankowski
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

Re: Hi, what time() ^ $$ means?

2001-07-10 Thread Walt Mankowski
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

Re: Hi, what time() ^ $$ means?

2001-07-10 Thread matthschulz
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? >

Re: Hi, what time() ^ $$ means?

2001-07-10 Thread 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? > > $$ is a special variable that is the process ID of > the currently ru

Re: Hi, what time() ^ $$ means?

2001-07-10 Thread Stephen P. Potter
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

Re: Hi, what time() ^ $$ means?

2001-07-10 Thread Jeff 'japhy' Pinyan
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, what time() ^ $$ means?

2001-07-10 Thread Erik W
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!