Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic

Re: Breaking down whole number into digits

by pvaldes (Chaplain)
on Nov 29, 2012 at 21:25 UTC ( #1006358=note: print w/replies, xml ) Need Help??

in reply to Breaking down whole number into digits

"... this is my first time ever reading from a file

Well, you have a teacher and this is a pretty basic stuff, there are some particularities about how to read a file that you need to know, ask him/her before to truncate something important.

Any guidance...

Yes, if your handbook is so poor that forget to tell you about how to open a file, at least use perldoc to examine the function open

My file is called x.txt but the program reads the file name from the keyboard so it could be whatever

Well, you wrote THIS program for your homework, isn't? You can change your own program

Please, show us a little code

  • Comment on Re: Breaking down whole number into digits

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1006358]
[karlgoethebier]: james28909: The last two are not mainstream. You have been warned ;-)
[karlgoethebier]: james28909: I don't know. Try it.
[james28909]: foreach server this bot is on, the gateway sends me a json response, which i parse out all the info with JSON, and this response has user information, i need to be able to add a user, and then update the user info when they join/leave rooms ect
[james28909]: i think im good
[james28909]: i just watched a youtube video
[karlgoethebier]: james28909: Did you look on CPAN?

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (11)
As of 2017-05-25 16:38 GMT
Find Nodes?
    Voting Booth?