Would that work if i had different files with different content?
niseus: That's exactly why hippo presented his solution in the Test::More format: so that you can add all the extra test cases (content) you feel you need (and you're encouraged to add many). See How to ask better questions using Test::More and sample data. The Test::More module family is very useful in general development. Testing with different files I leave to you to work out.
Give a man a fish: <%-{-{-{-<
In reply to Re^2: Add Quotes to entries in a file
by AnomalousMonk
in thread Add Quotes to entries in a file
by niseus
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |