While playing with some strings I realized that I really wanted strings to do the Positional role. When I’m inspecting or modifying strings I’m often doing things based on positions […]
Read moreCategory: Strings
Converting numbers to strings the hard way
Turning numbers into strings can be a big waste of time and money. Paul Khuong wrote about this in How to Print Integers Really Fast (With Open Source AppNexus Code!). […]
Read moreStrip leading spaces from here-docs
Perl v5.26 steals Perl 6’s feature to strip leading whitespace from here-docs. I wrote about that for The Effective Perler, but here’s the same thing for Perl 6 here-docs. As […]
Read moreQuick Tip #25: Very literal Quoting
Perl 6 has a basic quoting mechanism that is as literal as it can be. It doesn’t escape anything and doesn’t interpolate anything. The Q does nothing special so you […]
Read more