Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- open INI, "pc.txt" or die "Can't open pc.txt. Stopped";
- @lines = <INI>;
- close INPUT;
- #print "@lines";
- foreach (@lines)
- {
- if($_ eq "[field]")
- {
- print $_;
- }
- }
- pc.txt contains
- [field]
- name=selective
- length=2
Add Comment
Please, Sign In to add comment