Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: The Lighter Side of Perl Culture (Part I)

by bm (Hermit)
on Nov 29, 2004 at 12:18 UTC ( #410903=note: print w/replies, xml ) Need Help??


in reply to The Lighter Side of Perl Culture (Part I): Introduction

There is an archive of funny quotes from the Perl newsgroups available at PerlQuotes

--
bm
  • Comment on Re: The Lighter Side of Perl Culture (Part I)

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://410903]
help
Chatterbox?
[1nickt]: Good morning Monks and Monkettes!
[1nickt]: I have encountered a small code snippet I can not decipher: if ($?) { my $status = $? >> 8; ... }
[1nickt]: Hm, found the doc
[hippo]: >> is the bitwise shift, essentially divides the result by 256.
[haukex]: $? and system - the exit code of a process is stored in the upper bits of $?, so >> 8 does a bit shift to get at it
[hippo]: (truncating)

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (8)
As of 2017-12-13 11:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What programming language do you hate the most?




















    Results (358 votes). Check out past polls.

    Notices?