in reply to "Only Used Once" warning for lexicals
Hello LanX,
Have you looked at warnings::unused?
23:27 >perl -Mwarnings::unused -wE "my $n = 42; say 'hello!';" hello! Unused variable my $n at -e line 1. 23:28 >
Hope that helps,
| Athanasius <°(((>< contra mundum | Iustus alius egestas vitae, eros Piratica, |
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: "Only Used Once" warning for lexicals
by choroba (Cardinal) on Aug 06, 2015 at 13:48 UTC | |
by Athanasius (Archbishop) on Aug 06, 2015 at 14:08 UTC | |
by LanX (Saint) on Aug 06, 2015 at 22:55 UTC |