On Dec 18, Lance Prais said:

>I tried to use '((substr($line, 42, 7)' which the text I want to include but
>it did not show the output.

You can't put code inside a quoted string and expect it to evaluate.

  %mail = (
    To      =>  '[EMAIL PROTECTED]',
    From    =>  '[EMAIL PROTECTED]',
    Subject =>  'Email Manager not running',
    Message =>  substr($line, 42, 7),
  );

-- 
Jeff "japhy" Pinyan      [EMAIL PROTECTED]      http://www.pobox.com/~japhy/
RPI Acacia brother #734   http://www.perlmonks.org/   http://www.cpan.org/
** Look for "Regular Expressions in Perl" published by Manning, in 2002 **
<stu> what does y/// stand for?  <tenderpuss> why, yansliterate of course.


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to