Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: conditional print. Is correct to use it?

by kcott (Archbishop)
on Oct 28, 2020 at 06:42 UTC ( [id://11123251]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $fo ||= 'Roses are red ...';
    print "My homework: $fo";
    
  2. or download this
    $ perl -E '
        my $fo = "";
    ...
        }
    '
    ||
    
  3. or download this
    $ perl -E '
        my $fo = "";
    ...
        }
    '
    |XXX|
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (1)
As of 2024-04-25 03:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found