N0obieMonk has asked for the wisdom of the Perl Monks concerning the following question:
Hello respectable monks I am here to ask a question about files, sorry if my question is noobish but I am new to perl programming
file1:"!?abcdesfjsashccm,iosa/hitler/genocide/notok.cadshuiahdoaejoed/mom/dad/family.cauifhaiufaiu" and
file 2:"
val0=/hitler/genocide/notok.c
val1=/mom/dad/family.c"
I want my program to read from file2 each value and ignore it from file 1,so if I do any operations on file 1 those parts of the text files to be ignored and I can work with the rest of the file.
So if I read the file1 I want it to read "!?abcdesfjsashccm,iosaadshuiahdoaejoedauifhaiufaiu"
I am sorry to ask from you for this but believe me I really am trying to understand perl as much as I can and sadly I have no time to read everything because I must finish my project soon...
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Ignore given character from file
by hippo (Archbishop) on Jan 13, 2016 at 11:29 UTC | |
by N0obieMonk (Novice) on Jan 13, 2016 at 11:44 UTC | |
by hippo (Archbishop) on Jan 13, 2016 at 11:56 UTC | |
by N0obieMonk (Novice) on Jan 13, 2016 at 12:07 UTC | |
by Athanasius (Archbishop) on Jan 13, 2016 at 12:24 UTC | |
| |
by hippo (Archbishop) on Jan 13, 2016 at 12:24 UTC |