> I am trying to set up formatted printing and seem to be blocked by use > strict.
Its for your own good! Its not stopping you from doing formatted printing - its stopping you from writing dodgy perl :) Have you been reading too much Solena Sol or Matt Wright ? Did you forget to read Randal Shwartz ? > Errors: > Use of comma-less variable list is deprecated at line 5. try : format $LINE = <<end_of_format; .. end_of_format > Global symbol "$text" requires explicit package name at line 5. > Global symbol "$data" requires explicit package name at line 5. try : my $text, $data , $line after the use strict; > Bareword LINE not allowed while "strict subs" in use use '$line' instead ? Remember 'use strict' is like a nagging spouse without whom you'd never do the washing up or laundry and spend all day watching TV in your pijamas while eating take-away.. it might be easier not to bother now but you'll be glad in the long run :) HTH regards, A. -- Aaron J Trevena, BSc (Hons) www.head2head.co.uk Internet Application Developer Perl, UNIX, IIS/ASP _______________________________________________ ActivePerl mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
