Perl – Not a HASH reference or Can’t use string (“…”) as a HASH ref while “strict refs” in use

I’m learning Perl. I am able to iterate over a JSON collection using a Perl hash data structure like this using sample data. However, the actual data contains some elements that are causing either the error Not a HASH reference or Can’t use string (“…”) as a HASH ref while “strict refs” in use. Here’s…

Details

Give localhost access to all ISC-BIND “views”

I have linux router for local network. It has DHCPd and BIND. There is multiple interfaces (VLANs: Lan, Server, Switch, etc). Each interfaces has own DNS “view” based on “match-clients”. So machine from “Lan” interface can’t resolve switch1.switch. When DHCPd tries to update DNS it uses appropriate external IP to get into right DNS “view”.…

Details

Making custom Kernel configuration changes with debian-installer in QEMU

I am installing Debian10 (armhf) on a virtual machine in QEMU, like this: Download this netboot/initrd.gz Download this netboot/vmlinuz Create an empty disk image with: qemu-img create -f qcow2 hda.qcow2 8G Run the debian-installer in QEMU with: qemu-system-arm -M virt -m 1024 -kernel vmlinuz -initrd initrd.gz -drive if=none,file=hda.qcow2,format=qcow2,id=hd -device virtio-blk-device,drive=hd -netdev user,id=mynet -device virtio-net-device,netdev=mynet -nographic…

Details