$foo = length(@bar); $foo = @bar; will elicit a warning. Using an explicit B<scalar()> silences the warning. For example,
$foo = scalar(@bar);
/foo/;and implicit-write will warn about these:
s/foo/bar/;Both implicit-read and implicit-write warn about this:
for (@a) { ... }