print pi * 2, "\n";

On Fri, May 23, 2014 at 4:45 PM, Sherman Willden
<sherman.will...@gmail.com> wrote:
> Disclaimer: I am 67 and not in school. I am doing this for my own
> satisfaction.
>
> How do I get a new line at the end of a non-quoted text. I am doing the
> following:
> Use Math::Trig;
> print pi * 2;
> print "\n";
>
> How do I get the new line on the same line of code?
>
> I could do my $my_pi_times_two = pi * 2;
> print "$my_pi_times_two\n";
>
> but that seems to be overkill.
>
> Thanks;
>
> Sherman
>
>
>



-- 
-----------------
Hal Wigoda
Chicago

-- 
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to