What is difference in this pattern_

2022-09-17 Thread William Torrez Corea
-- With kindest regards, William. ⢀⣴⠾⠻⢶⣦⠀ ⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system ⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org ⠈⠳⣄

What is difference in this pattern?

2022-09-17 Thread William Torrez Corea
1. $foo =~ m/abc/ 2. $foo =~ m 3. $foo =~ m'abc' -- With kindest regards, William. ⢀⣴⠾⠻⢶⣦⠀ ⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system ⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org ⠈⠳⣄

Re: What is difference in this pattern?

2022-09-17 Thread Andy Bach
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 wrote: > 1. $foo =~ m/abc/ > 2. $foo =~ m > 3. $foo =~ m'abc' > > -- > > With kindest regards, William