in reply to Re^2: What operator should perl5porters use for safe dereferencing?
in thread What operator should perl5porters use for safe dereferencing?
Thanks for your correction! But the 3 first main usages of ~ is about match. I suggest ?-> is I believe the one of advantages which perl6 is better than perl5 is its consistency. take a look below:
- ~ means string, so ~$foo change $foo into string context, and $foo1 ~ $foo2 make a concatenation.
- +/- means numeric, so +$foo change $foo into numeric context and $foo + 3 is doing mathematic operation.
- and ? means bool, * means global etc.......
I am trying to improve my English skills, if you see a mistake please feel free to reply or /msg me a correction
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^4: What operator should perl5porters use for safe dereferencing?
by BrowserUk (Patriarch) on Jun 05, 2012 at 12:37 UTC | |
Re^4: What operator should perl5porters use for safe dereferencing?
by Anonymous Monk on Jun 06, 2012 at 03:05 UTC |
In Section
Past Polls