CASTEP job automation (Perl script)

Dear all, 

I would like to automate running a series of jobs each with a different cutoff energy. I read the scripting manual but couldn't figure it out how to correctly do this. I did generate and save the input files, and also created a Perl script document inside my project directory . How to write a script to run a series of jobs with different cutoff energies, say for example from 500eV to 600eV in steps of 25eV?

I am using Materials Studio 2024 (Default installation) on Windows 11. 

Any help is much appreciated.