in reply to Perldoc: String interpolation with octal escpape sequence like "\1"
The following escape sequences are available in constructs that interpolate, and in transliterations:...
\033 [7,8] restricted range octal char (example: ESC)
...
Some contexts allow 2 or even 1 digit, but any usage without exactly three digits, the first being a zero, may give unintended results.
...
($q=q:Sq=~/;[c](.)(.)/;chr(-||-|5+lengthSq)`"S|oS2"`map{chr |+ord }map{substrSq`S_+|`|}3E|-|`7**2-3:)=~y+S|`+$1,++print+eval$q,q,a,
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Perldoc: String interpolation with octal escpape sequence like \1
by Eily (Monsignor) on Oct 02, 2018 at 15:18 UTC | |
by LanX (Saint) on Oct 02, 2018 at 15:31 UTC | |
|
Re^2: Perldoc: String interpolation with octal escpape sequence like \1
by LanX (Saint) on Oct 02, 2018 at 15:29 UTC |