This simple perl script will print your external IP address assigned by you internet provider ( great for someone with dynamic IP address ).
This is a companion discussion topic for the original entry at https://linuxconfig.org/perl-script-to-obtain-an-external-ip-address