develooper Front page | perl.beginners | Postings from September 2022

Re: What is difference in this pattern?

Thread Previous
From:
Andy Bach
Date:
September 17, 2022 15:47
Subject:
Re: What is difference in this pattern?
Message ID:
CACV6rWK50sxkqpGSoGVLXZTvUjecx-SKF7ZMKSUsK7iNqT1nVA@mail.gmail.com
Nothing. Match substitution allow for almost any chars to be used as
delimiters, including “pairs” like
$foo =~ m(abc);
$foo =~ s{abc}{xyz};

On Sat, Sep 17, 2022 at 8:29 AM William Torrez Corea <willitc9888@gmail.com>
wrote:

> 1. $foo =~ m/abc/
> 2. $foo =~ m<abc>
> 3. $foo =~ m'abc'
>
> --
>
> With kindest regards, William.
>
> ⢀⣴⠾⠻⢶⣦⠀
> ⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
> ⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org
> ⠈⠳⣄⠀⠀⠀⠀
>
-- 
Andy Bach
Afbach@gmail.com
Not at my desk

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