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