Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: Currency symbols in variable names

by davido (Cardinal)
on Aug 26, 2019 at 05:48 UTC ( #11105036=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    m/\A\[_\p{ID_Start}]\p{XID_Continue}*\z/
    
  2. or download this
    use utf8;
    binmode STDOUT, ':utf8';
    ...
    print "\$$symbol = $$symbol\n";
    print "$symbol is found in package ", *{__PACKAGE__ . '::1%^@"'}{PAC
    +KAGE}, "\n";
    print "\$main::${symbol} has a value of ", ${'main::1%^@"'}, "\n";
    
  3. or download this
    (define  (lambda (x y) (+ x y)))
    
    ...
    1 ]=> ( 3 5)
    
    ;Value: 8
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (4)
As of 2020-01-25 05:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?