[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [MacPerl] escape oddities...



Scott Prince wrote:
> 
> \cM, \cJ? I have rarely seen these. Just out curiosity, where could I 
> find a list of every possible escape sequence recognized by Perl?

perlop:

     For constructs that do interpolation, variables beginning with "$" or
     "@" are interpolated, as are the following sequences:

         \t          tab             (HT, TAB)
         \n          newline         (LF, NL)
         \r          return          (CR)
         \f          form feed       (FF)
         \b          backspace       (BS)
         \a          alarm (bell)    (BEL)
         \e          escape          (ESC)
         \033        octal char
         \x1b        hex char
         \c[         control char
         \l          lowercase next char
         \u          uppercase next char
         \L          lowercase till \E
         \U          uppercase till \E
         \E          end case modification
         \Q          quote regexp metacharacters till \E


Ronald

***** Want to unsubscribe from this list?
***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch