Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: How to store all 1 s in perl

by hrcerq (Scribe)
on Apr 08, 2021 at 17:27 UTC ( #11131014=note: print w/replies, xml ) Need Help??


in reply to How to store all 1 s in perl

I'm not sure if I get what you want. If what you want is to print number one 131 times, then you should just remove the "/ 1" part of the first line, as it's treating your desired result (number one 131 times) as a number instead of a string, and as it's a big number, it's displayed in scientific notation.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11131014]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (5)
As of 2022-05-25 13:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you prefer to work remotely?



    Results (90 votes). Check out past polls.

    Notices?