Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re^2: MIME::Lite $message construction with variables

by Anonymous Monk
on Aug 05, 2022 at 10:05 UTC ( [id://11145965]=note: print w/replies, xml ) Need Help??


in reply to Re: MIME::Lite $message construction with variables
in thread MIME::Lite $message construction with variables

Can you please share an example, i'm facing the same problem

Replies are listed 'Best First'.
Re^3: MIME::Lite $message construction with variables
by Corion (Patriarch) on Aug 05, 2022 at 10:20 UTC

    If you have the same problem, why doesn't the same solution help you?

    my $message = '... some message with $variable ...';

    This will never interpolate $variable. Use double quotes:

    my $message = "... some message with $variable ...";

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11145965]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (4)
As of 2024-03-29 07:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found