Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Embracing functions with parentheses

by crenz (Priest)
on Mar 16, 2005 at 09:30 UTC ( #439886=perlmeditation: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $obj->SetName($value);
    $obj->set_title($newtitle);
    
  2. or download this
    print join ' - ', grep { -d } @list;
    print join(' - ', grep { -d } @list);
    
  3. or download this
    print(join(' - ', grep({-d}, @list)));
    
  4. or download this
        open(my $fh, '>', $filename);
        print $fh $message;
        myownfunction($param1, $param2);
        close $fh;
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (4)
As of 2016-08-27 16:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    The best thing I ever won in a lottery was:















    Results (380 votes). Check out past polls.