$outlookmail="/Program Files/Microsoft Office/Office/Outlook.exe"; open(FIL,$outlookmail); @lines = ; close FIL; foreach (@lines) { print; }