Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"

Re^6: Split output by tabs

by ColonelPanic (Friar)
on Nov 13, 2012 at 14:13 UTC ( #1003619=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download

  1. or download this
    open my $f, '>out.txt' or die 'ouch!';
    print $f 'foo';
    my $f = 'bar';
    print $f, 'foo';
  2. or download this
    use warnings;
    use strict;
    #supposed to be a pattern match, but interpreted as division.
    print $f / $e/ ? 'yes' : 'no';