On Mon, 30 Jul 2001, Rahul Garg wrote:

> In my perl script , i am writing HTML code......within it i am using
> &nbsp for spaces , as i need a lot spaces is there any other
> solution.............

You still need to use   to make spaces.  However, the easy way to
create an arbitrary number of spaces is by using the x operator.  In fact,
you can make a little sub out of this:

sub spaces {

  my $num_spaces = shift;

  return (' ' x $num_space);

}

Personally, though, I think if you get to the point where you need to
cotnrol layout with spaces in this manner, you might want to move to using
a table -- it'll give you better control over the layout.

-- Brett

Brett W. McCoy
Software Engineer
Broadsoft, Inc.
240-364-5225
[EMAIL PROTECTED]


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to