|The stupid question is the question not asked|
Re: Script stopped working...by NetWallah (Canon)
|on Mar 18, 2018 at 04:01 UTC||Need Help??|
I'm surprised you got a response at all.
Your declaration of "my $url" is out-of-scope by the time you attempt to get $content:
Please do your self a favour and add this to the top of you script:
I also dont know why the "while (1)" is being used.
You should be setting the user agent up only one time, not in an indifinete loop.
I don't know how you are able to exit that loop.
If you are sure you have got past the URL issue, and are able to fetch $content, we can work on the remainder of the script, if you pshow us a sample of the $content.
Depending on what you are pulling data from, Cisco::IPPhone may be relevant.
Python is a racist language what with it's dependence on white space!