in reply to Re^3: loop through file checking for session variable
in thread loop through file checking for session variable

Grandfather does this look good? I can't test from here as it takes forever to do from home..most of sub Tutorials will be pulled into submlx40 with less code as I won't need the if's, and I can chop tutorials back to its previous state which of course was much shorter without all the if thens, which I added today as this was a last minute change request.mlx40 is a start on using the file to switch tween one or the other.
my $sitelist=(xmlFileData("Content", "sitelist.txt"); while (<$sitelist>){ chomp; if (/\Q$Session->{'usrSystem'}\E/){ $str.=MLX40Tutorials(); } else { $str.=mTutorials(); } }