Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

magic-diamond <> behavior -- WHAT?!

by repellent (Priest)
on Oct 29, 2008 at 21:50 UTC ( #720344=perlquestion: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $ mkdir diamondtest
    $ cd diamondtest
    ...
    $ ls  # now you see it
    $ perl -pe 1 *
    $ ls  # now you don't -- no files
    
  2. or download this
    while (defined($_ = <ARGV>)) { ... }
    
  3. or download this
    # strip blank lines
    perl -pe 's=^\s*$=='
    
  4. or download this
    perl -Tpe 's=^\s*$=='
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (17)
As of 2015-07-03 12:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (52 votes), past polls