Forum Discussion
Apr 15, 2010
perl not allowing 'use' flag for f5confbkp.pl script
Hi All,
I'm trying to implement the f5confbkp.pl script from here: http://devcentral.f5.com/Wiki/default.aspx/AdvDesignConfig/BIGIPBackupScripts.html
I've successfully got it to run on two of my 3 LTMs. But on the 3rd one I'm getting this error when I try to run it:
[user@BIP03:Active] ~ perl f5confbkp.pl
"use" not allowed in expression at f5confbkp.pl line 16, at end of line
syntax error at f5confbkp.pl line 16, near "use Sys::Hostname"
Execution of f5confbkp.pl aborted due to compilation errors.
the LTM is running v9.4.7 HF2, the same as my other 2 LTMs that can run this script with no issue. any ideas on what could be wrong?
- whoops- figured out my own issue. one of the comment lines at the beginning of the script did not wrap properly and instead created a new line. once i fixed that it ran as expected.
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects