There are already a number of solution in the counter example series, but this one is quite different. It is actually based on a question I got from one of my former students at one of the big hi-tech companies.
Here we have a file with lots of content, including some numbers in more or less arbitrary places. We would like to increase these numbers.
This is a file with several number For example 8 In the second row there are two number 3 and 23 There are also numbers between other characters: #15# and =40=
In the basic version we would like to increase each number by one. In the extended version we will want to supply a file with "rules" how to change each number.
Perl Maven Pro - screencasts with articles
As a Perl Maven Pro subscriber you will enjoy a growing library of articles and screencasts.
Two screencasts a week and all the previous screencasts!
Ad free browsing!
The articles contain topics such as Web Application Development, Object Oriented programming, testing, deployment, code walkthroughs, best practices, and many more subjects in Perl, and in related technologies.
Subscriptions include all previous pro episodes.
If you already have Perl Maven Pro subscription, you will need to login to access the articles.