Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery

Re: reading file

by marto (Bishop)
on Nov 29, 2012 at 10:39 UTC ( #1006223=note: print w/replies, xml ) Need Help??

in reply to reading file

Questions like this come up fairly often. In recent memory (actually I had to search for it, my recent memory isn't what it once was) is How best to strip text from a file?, more relevant to you is the sub question and corresponding answer, which seems like it'll do exactly what you need with minor modification.

"Please also give some basic and advance links to tutorials of regular expression."

perlretut along with Pattern Matching, Regular Expressions, and Parsing from the tutorials section.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1006223]
Discipulus ruling monthly best.. oh tempora oh mores..

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (4)
As of 2017-11-24 17:54 GMT
Find Nodes?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:

    Results (351 votes). Check out past polls.