Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

clipcommand.pl (Embed perl into your clipboard)

by antirice (Priest)
on Nov 01, 2007 at 14:58 UTC ( #648493=CUFP: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    -- def_macro hello
    my $name = shift || "world";
    print "Hello $name!";
    
  2. or download this
    -- hello
    
  3. or download this
    -- def_macro hello
    my @in = map { chomp;length($_) ? $_ :() } (@ARGV,<STDIN>);
    chomp(@in);
    @in = "world" unless @in;
    print "Hello $_" for @in;
    
  4. or download this
    -- hello me
    myself
    I
    
  5. or download this
    Hello me
    Hello myself
    Hello I
    
  6. or download this
    #!/usr/bin/perl -l
    
    ...
    
    
    __END__
    
  7. or download this
    -- def_macro eval
    eval join "",<>
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: CUFP [id://648493]
Approved by Corion
Front-paged by kappa
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (6)
As of 2014-07-24 09:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (159 votes), past polls