'$FILE' is a string! $FILE is not interpolated within single quotes. Perhaps you want $doc->{$FILE}.

-- Ken

In reply to Re: Downloading attachment from Lotus Notes via Perl script by kcott
in thread Delete emails(documents) from Lotus Notes inbox by using Perl by facudy

Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":