Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: Use perl to do direction matching

by vitoco (Friar)
on Oct 09, 2009 at 18:03 UTC ( #800353=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my $nline = "\n";
    my $comma = ",";
    ...
         print OUTPUT $column[4],$comma,$column[5],$comma,$column[7],$comm
    +a,$column[8],$comma,$A,$comma,$B,$comma,$nline;
    
  2. or download this
    # $/ = "\n" # Input RS already defined
    $, = ",";
    ...
         print OUTPUT $column[4],$column[5],$column[7],$column[8],$A,$B;
         print $/; # or use 'say' as it was said.
    
  3. or download this
         print OUTPUT "$column[4],$column[5],$column[7],$column[8],$A,$B\n
    +";
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (10)
As of 2015-07-08 02:08 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 (93 votes), past polls