Perl-Sensitive Sunglasses | |
PerlMonks |
Re: Re: Re: Re: Re: Using MIME-Lite to send attachmentby tachyon (Chancellor) |
on Apr 10, 2004 at 13:27 UTC ( [id://344122]=note: print w/replies, xml ) | Need Help?? |
The error message actually pinpoints it for you. Problem on line 19.....Might be runaway line near '' on line >>>18<<<. The problem is that the \ char ESCAPES other characters so if you want a LITERAL \ you need to type \\ Note that single quotes and backslashes may cause you confusion. See fix below:
Note that \\ in Win32 is a pain. Unless you are executing stuff through the shell using backtics or system you can just use / ie open FILE, "C:/WINNT/system32/some.file" works just fine. With the error messages they look complex but the problem is usually trivial. Missing ; Forgetting to close quotes (or stating with " and ending with ' or vice versa) and missing braces { } are the most common culprits. cheers tachyon
In Section
Seekers of Perl Wisdom
|
|