Julien Motch wrote: > > Hello , Hello,
> I am new to perl and here is my problem .I have written a programm which > checks my mail and sends me instant message via gabber when 10 or more > mail arrive or when a special sender writes me .The problem is that I > receive the message head in one string .I want to isolate the line which > contains the word 'Subject:' (by the way of grep do it ).Do you know a > way to do that ? my ($subject) = $message =~ /\nSubject:\s*(.*)/; John -- use Perl; program fulfillment -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]