Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re^3: How to make an ascii flower variable

by anneli (Pilgrim)
on Oct 19, 2011 at 05:38 UTC ( [id://932292]=note: print w/replies, xml ) Need Help??


in reply to Re^2: How to make an ascii flower variable
in thread How to make an ascii flower variable

Hmm, how odd! It ran without complaint or error at work; when I try it at home now, I get the same error as you (which is documented as being correct behaviour!).

I'll have to try again at work tomorrow! ;-)

  • Comment on Re^3: How to make an ascii flower variable

Replies are listed 'Best First'.
Re^4: How to make an ascii flower variable
by duelafn (Parson) on Oct 19, 2011 at 18:03 UTC

    Of course, we can always put the flower in a vase:

    use utf8;
    no strict 'refs';
    ${"✿"} = "works for me?";
    say ${"✿"}

    Good Day,
        Dean

      Well, I think this solution would please everyone, OP included!

Re^4: How to make an ascii flower variable
by moritz (Cardinal) on Oct 19, 2011 at 11:49 UTC

      Turns out I was just plain mistaken (though I did find your findings on this topic while Googling/searching PM); I had used a different character (that I knew the UTF-8 byte sequence for) to test with at work, which happened to actually work, but BLACK FLORETTE does not!

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (3)
As of 2024-04-24 17:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found