in reply to Argument spamming terminal
Is there a way to tell perl to ignore that error?
It isn't an error, it's a warning. As such you can mute it in the tightest possible scope.
#!/usr/bin/env perl use strict; use warnings; my $bot = 'foo'; # This will warn my $foo = int $bot; # This will not { no warnings 'numeric'; my $bar = int $bot; }
perldoc warnings for more.
🦛
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Argument spamming terminal
by CougarXR7 (Acolyte) on Aug 19, 2021 at 22:09 UTC | |
|
Re^2: Argument spamming terminal
by CougarXR7 (Acolyte) on Aug 20, 2021 at 03:28 UTC | |
by hippo (Archbishop) on Aug 20, 2021 at 08:42 UTC |