in reply to Re: Why does default $_ only work
in thread Why does default $_ only work
For clarity you probably still want:
And your regex seems incorrect, as pointed out by LanX. This may be where using $_ originally got you.my $selection = <STDIN>; chomp ($selection);
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: Why does default $_ only work
by haukex (Archbishop) on Aug 10, 2020 at 19:43 UTC | |
by perlfan (Parson) on Aug 10, 2020 at 19:48 UTC |