in reply to header

$system, used in your header way at the top is never defined at all, let alone before it is used.

You need to re-evaluate how you are doing things. It looks like you want to create a header down after you define @systems, then iterate over that through each one and use something like



use warnings;

...might have been useful, but I didn't test. Always use it.


Replies are listed 'Best First'.
Re^2: header
by amagana (Acolyte) on Apr 06, 2015 at 21:19 UTC
    You are right, I am a novice and need help if you could give me an example, I would be greatful.

      Just do what our friend roboticus said in his above post :)