CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Perl Programming Help: Beginner:
Convert::TNEF problem with AttachTitle attribute

 



orange
Novice

Apr 4, 2012, 2:21 AM

Post #1 of 1 (660 views)
Convert::TNEF problem with AttachTitle attribute Can't Post

I have a problem with AttachTitle attribute of TNEF attachment; Convert::TNEF wont read filename:

Code
my $tnef = Convert::TNEF->read_in("tnefile.dat",{output_dir=>"\\tnef"})    or die $Convert::TNEF::errstr;  
@attachments = $tnef->attachments;
print $attachments[0]->data('AttachTitle');

print $attachments[0]->longname;



it says 'Use of uninitialized value in print, blabla' :(
what am I doing wrong?


edit: its ok, sorry. I've checked the debug output and tnef attachment simply has no title in that attribute.


(This post was edited by orange on Apr 4, 2012, 2:53 AM)

 
 


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives