develooper Front page | perl.perl5.porters | Postings from August 2009

Re: Patch: add ~~ and // to perlcheat.pod

Thread Previous
From:
Rafael Garcia-Suarez
Date:
August 28, 2009 02:13
Subject:
Re: Patch: add ~~ and // to perlcheat.pod
Message ID:
b77c1dce0908280213w6aa35c02w8210f57de1ec58@mail.gmail.com
Thanks, applied as 79a59c7258f9a162e5dddf58683731a4f525a2ae

2009/8/28 Frank Wiegand <frank.wiegand@gmail.com>:
> Hi, this patch adds ~~ and // to perlcheat.pod
>
> Thanks, Frank
>
>
>
> diff --git a/pod/perlcheat.pod b/pod/perlcheat.pod
> index 07853a8..7f2c830 100644
> --- a/pod/perlcheat.pod
> +++ b/pod/perlcheat.pod
> @@ -35,11 +35,11 @@ already be overwhelming.
>   << >>                   while  ( ) { }, until ( ) { }
>   named uops              if     ( ) { } elsif ( ) { } else { }
>   < > <= >= lt gt le ge   unless ( ) { } elsif ( ) { } else { }
> -  == != <=> eq ne cmp     for equals foreach (ALWAYS)
> +  == != <=> eq ne cmp ~~  for equals foreach (ALWAYS)
>   &
>   | ^              REGEX METACHARS            REGEX MODIFIERS
>   &&               ^     string begin         /i case insens.
> -  ||               $     str. end (before \n) /m line based ^$
> +  || //            $     str. end (before \n) /m line based ^$
>   .. ...           +     one or more          /s . includes \n
>   ?:               *     zero or more         /x ign. wh.space
>   = += -= *= etc.  ?     zero or one          /g global
>
>



-- 
"You don't mean odds and ends, you mean des curieux et des bouts",
corrected the manager.
-- Terry Pratchett, Hogfather

Thread Previous


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About