Re: OpenFile and search

2003-03-07 Thread Bryan DeLuca
You should really get one of the fine Perl books by O'reilly or spend at least a little time learning Perl. The eample below example will take a user supplied regex pattern and search for those lines that contain the regex and precede the line with a '#'. Here is an example: #!/usr/bin/perl -w #

OpenFile and search

2003-03-07 Thread [EMAIL PROTECTED]
Hi perlians, How can make to open a file and search on it some character to remove or comment. Sorry but I'am a newbie++newbiw about the fantastic language Perl and now for me it's very difficult approach an algorithm. Does someone here can you help me with small example. Many thanks at all. Mar