Office.com logo
Industries Run Your Business E-Business News and Research Community On The Air Marketplace
Search:
#
Content
 
 
  Search
Products
  Search
 Advanced Search
 Search Help
 Site Map
Shopping Cart
# # # # # # # #
Featured Business Services

Member Center
Register with Office.com

Email
Calendar
Account Information
Sign In/Out


Get our Free Newsletter
Get free Desktop Toys
Take a Tour of Office.com



Perlaccess : Tutorials
Advanced Output (2.2)
by Jacob A. Wheeler
http://www.bigresources.com

The following code examples show an alternate way of outputing HTML code instead of using a bunch of print statements.

So instead of doing the following:

  1. print "<html>\n";
  2. print "<body bgcolor=\"white\">\n";
  3. print "etc...\n";

You can use:

  1. print qq~
  2. <html>
  3. <body bgcolor="white">
  4. etc...
  5. ~;

Or...

  1. print qq|
  2. <html>
  3. <body bgcolor="white">
  4. etc...
  5. |;

When you use the last two output methods (qq~ and qq|) you do not have to worry about formatting parenthesis correctly by using backslashes to prevent PERL from formatting the output wrong.

BigResources Weekly
1-Click-Clipart
Free Clipart Reviews
123 Webmaster
Free Web Tools
A1 Javascripts
Free Java Scripts
Font Files
Free Fonts
Freeware Files
Free Downloads
FreeWebTemplates
Free Website Templates
Fresher Image
Free Clipart
HTML Forums
Free Help
Perl Access
Learn Perl Scripts

 
Free email - Signup Now!

Big Partnership!
The Bigresources.com network has partnered with Office.com!  

Read the details





Perlaccess.com and all content within this site is copyright © Big Resources, Inc.
Mascot team created by Drawshop.com
Help Contact Us Join Our Team Partners About Us Home
Copyright © 1999-2001 Office.com Inc. All Rights Reserved.
Use of this site is subject to Office.com's Terms of Service.
Office.com's Privacy Policy.