Forum Discussion

Andy_Litzinger's avatar
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?

1 Reply

  • 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.