in reply to
Problem with $1
Try changing your regular expression to:
/Subject:(.*)/
[download]
( ) does gruping and I think that was what you really wanted.
I would also suggest that you look on cpan and see if you can find a good mail heade parser, I am almost 100% sure that you will find it done ;) Do not reinvent the whell.
Comment on
Re: Problem with $1
Download
Code
Replies are listed 'Best First'.
Re^2: Problem with $1
by
w3b
(Beadle)
on Dec 03, 2005 at 14:43 UTC
no:( $1 is further empty:/ maybe my source code is bad, but when i run scripts with -c i see "syntax OK" - so what?I don't know what i do wrong:/
[reply]
In Section
Seekers of Perl Wisdom