in reply to Make a line generic
Hello,
I am sorry, but what do you mean by 'text-line'?
Please be a bit more specific.
It does not really help to open one thread after the other, which all seem to seek for the same result (or not?). I think it would be better to just use one thread and try to explain your problem more detailed.
If you want to use a regular expression you need to write =~ instead of =
snadra
I am sorry, but what do you mean by 'text-line'?
Please be a bit more specific.
It does not really help to open one thread after the other, which all seem to seek for the same result (or not?). I think it would be better to just use one thread and try to explain your problem more detailed.
If you want to use a regular expression you need to write =~ instead of =
That would match a line, wich has 'otsort' in the beginning followed by zero or more characters.# to figure out if a line matches write: if ($endUnixLine =~ /^otsort.*/) { print 'matches'; }
snadra
In Section
Seekers of Perl Wisdom