![]() |
|
We don't bite newbies here... much | |
PerlMonks |
Re^3: Automating execution of shell scriptsby choroba (Cardinal) |
on Sep 03, 2021 at 13:01 UTC ( #11136412=note: print w/replies, xml ) | Need Help?? |
This evaluates @_ in scalar context, returning the number of parameters instead of the actual value. Instead, use
Also,
is better written as
map{substr$_->[0],$_->[1]||0,1}[\*||{},3],[[]],[ref qr-1,-,-1],[{}],[sub{}^*ARGV,3]
In Section
Seekers of Perl Wisdom
|
|