Jason, I don't see why you need to change what you do because you've moved to Perl 5.6.. most of the things that you seem to be doing will work quite well on either version... CGI.pm can be used in either an object oriented manner (as you already know, from your example), or as just plain function calls.. that hasn't changed between versions of Perl.. Some more comments below.. if you really need to know what changed between versions of Perl, the perldelta man page is your friend :o)
> I have been using Perl 5.005 for quite a while now but I am looking at moving to > perl5.6. The problem that I am having is I have been working with a graphics > guy that does his work in html. When I get that code for the most part all I > have to do is . > > print " > <html> > > html code etc...... > > </html> > "; You should still be able to do this in Perl 5.6 ? I just tried it out myself... I know for sure that heredocs work.. you might want to think about using them in your existing code...a small example, print<<EOF; <html> <head><title>Test page</title> $body_code </html> EOF That might be a bit neater than having a print that stretches across multiple lines.. note that you don't need to enclose anything in double quotes, the heredoc mechanism takes care of that for you... > But with perl 5.6 and CGI.pm > > I have to use all that > > print $co->header, > $co->start_html('New Site'), > > etc..... Stuff. > > print $co->end_html; You can also do this #!/usr/bin/perl use CGI qw/:standard/; print start_html; I just tried it out :o), although I prefer the object oriented method myself.. Have you been getting any errors that you can specifically mention when you moved from 5_005 to 5.6 ? Hope this helps, Thimal -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]