Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re^5: Burned by precedence rules (not)

by tye (Sage)
on Dec 27, 2008 at 06:53 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://732755]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (3)
As of 2024-03-29 02:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found