![]() |
|
Keep It Simple, Stupid | |
PerlMonks |
Re: switch being ignored put into ARGVby Nobby (Novice) |
on Oct 17, 2022 at 02:53 UTC ( #11147479=note: print w/replies, xml ) | Need Help?? |
Thanks to you both, yes, that was it!
In my other scripts, the addhost, etc and related scripts that do work, domain = argv0 is defined much lower in the code, reordering as suggested here has fixed it and it is now playing nice :)
Thanks again guys!
In Section
Seekers of Perl Wisdom
|
|