Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical

Re: to read particular lines

by thezip (Vicar)
on May 30, 2012 at 20:30 UTC ( #973366=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download

  1. or download this
    use strict;
    use warnings;
      $length = $.;
    close $fh; 
  2. or download this
    miR156a AT3G19833 151 0.607541 
    miR156a AT3G19883 11 0.607541 
    miR156a AT3G19773 15 0.607541 
    miR156a AT3G19833 161 0.607541
    miR156a AT3G19780 163 0.607541

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://973366]
[msh210]: I think I just found a lie in perldoc.
[msh210]: warn: "If the last element of LIST does not end in a newline, it appends the same file/line number text as die does."
[msh210]: perl -e'warn "test$/", "" '
[msh210]: doesn't append anything.
[msh210]: It should say "If the last nonempty element of LIST" or "If the string thus to be printed does not end in a newline""

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (9)
As of 2017-04-24 12:37 GMT
Find Nodes?
    Voting Booth?
    I'm a fool:

    Results (439 votes). Check out past polls.