in reply to Re: I can't make a new line =(
in thread I can't make a new line =(
yea, i want to break the line into a new one... this is my script. i don't know how to minimize the font, so i just put a comment between the two statements i want to separate.
#!C:\Perl\bin\perl.exe -wT use strict; use CGI ':standard'; my ($number,$value); $number = param('number'); $value = param('name'); print "Content-type:text/html\n\n"; $number = $number + 20; print "$value will be $number in twenty years."; # separate above operation from below condition if ($number >= 40) { print "Wow $value, you're old!"; } else { print "Wow $value, you're still young!"; }
davorg: added code tags
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: I can't make a new line =(
by graff (Chancellor) on Jun 13, 2006 at 06:44 UTC | |
|
Re^3: I can't make a new line =(
by monkfan (Curate) on Jun 13, 2006 at 06:47 UTC | |
|
Re^3: I can't make a new line =(
by davorg (Chancellor) on Jun 13, 2006 at 08:57 UTC | |
|
Re^3: I can't make a new line =(
by frederick213 (Initiate) on Jun 13, 2006 at 06:47 UTC |