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

Re^3: How should I Extract data from text file. Pattern I have to extract should not repeated one.

by roboticus (Chancellor)
on Feb 04, 2018 at 14:43 UTC ( [id://1208424]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
        if ( $line =~ /([N01]{39})/ )
    
  2. or download this
        if ( $line =~ /([N01]{39});/ )
    
  3. or download this
    use strict; use warnings;
    while (my $line = <DATA>) {
    ...
        }
    }
    __DATA__
    
  4. or download this
    Roboticus@Waubli ~
    $ perl pm1208422.pl
    
    Roboticus@Waubli ~
    $
    
  5. or download this
    Roboticus@Waubli ~
    $ perl pm1208422.pl
    ...
    line 214: <NN0NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN0NNN>
    line 216: <NN0NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN1NNN>
     . . . et cetera . . .
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (5)
As of 2024-04-16 16:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found