Re: What is difference in this pattern?
Andy Bach <[email protected]>
| Newsgroups | gmane.comp.lang.perl.beginners |
|---|---|
| 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 <[email protected]>
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
[email protected]
Not at my desk