in reply to Re: How to put special characters($, @, #) into a variable?
in thread How to put special characters($, @, #) into a field name?

Thanks, tried many times and finally got it as you said $ascalar = "myemail\@gmail.com". Would you pleas look at the update question? Thanks a lot.
  • Comment on Re^2: How to put special characters($, @, #) into a variable?

Replies are listed 'Best First'.
Re^3: How to put special characters($, @, #) into a variable?
by GrandFather (Saint) on May 26, 2007 at 22:01 UTC

    Do not completely change the node title and contents. Either post a related follow up question in reply or create a new question.

    The OP title and contents were:

    Title: How to put special characters($, @, #) into a variable?

    Content:

    Hi, Monks: Did a search and didn't come up with anything so I am asking you perl monks here. How can I put a special character into a variable? Say I want $ascalar="myemail@gmail.com". I can't get the value I want since perl thinks @gmail as an array. Please help how I can get this done. Thanks. --neverminda

    DWIM is Perl's answer to Gödel