toros has asked for the wisdom of the Perl Monks concerning the following question:
This is sample perl script codeBeginning Perl is a different kind of Perl book. It's written particul +arly with the beginning programmer in mind, but it doesn't treat you like an idiot, and experienced programmers wi +ll not feel patronized. It covers a lot of ground, from the very basics of programming, right +through to developing CGI applications for the web. More importantly, it emphasizes good Perl practice, and r +eadable and maintainable code.
runing and resultopen F, "<text.txt"; while (<F>){ print "Result : $1 " if($_ =~ m/particularly(.*)/); }
but there is was a problem. i am writing this result in dos:Result : with the beginning programmer in mind,
How do I do this?with the beginning programmer in mind, but it doesn't treat you like an idiot, and experienced programmers wi +ll not feel patronized. It covers a lot of ground, from the very basics of programming, right +through to developing CGI applications for the web. More importantly, it emphasizes good Perl practice, and r +eadable and maintainable code.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Find strings
by moritz (Cardinal) on Oct 01, 2010 at 08:11 UTC | |
by toros (Initiate) on Oct 01, 2010 at 08:33 UTC | |
by moritz (Cardinal) on Oct 01, 2010 at 08:56 UTC | |
|
Re: Find strings
by raybies (Chaplain) on Oct 01, 2010 at 17:18 UTC | |
by toros (Initiate) on Oct 02, 2010 at 05:11 UTC | |
by raybies (Chaplain) on Oct 04, 2010 at 21:48 UTC | |
|
Re: Find strings
by rwburden (Novice) on Oct 01, 2010 at 15:44 UTC | |
by toros (Initiate) on Oct 02, 2010 at 04:50 UTC |