Beefy Boxes and Bandwidth Generously Provided by pair Networks DiBona
Perl: the Markov chain saw
 
PerlMonks  

Re^5: Burned by precedence rules (not)

by tye (Cardinal)
on Dec 27, 2008 at 06:53 UTC ( #732755=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
        my $is_logged_in= $user && $user->id() != User->anonymous_id();
        my $has_guest_coupon= $cookie
            && $cookie->is_for_guest() && ! $cookie->is_expired();
        if(  $is_logged_in  ||  $has_guest_coupon  ) {
    
  2. or download this
        if(  is_logged_in($user)  ||  has_guest_coupon($cookie)  ) {
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://732755]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (7)
As of 2014-04-23 19:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (553 votes), past polls