Help for this page

Select Code to Download


  1. or download this
    my $call_resp = print(1 ? 'yes' : 'no)   .   'bar';  # yes
    print "\nprint() function returned: $call_resp\n";   # \nprint() funct
    +ion returned: 1bar\n
    
  2. or download this
    (print 1 ? 'yes' : 'no') . 'bar';
    
  3. or download this
    print +(1 ? 'yes' : 'no') . "bar\n"; # yesbar\n