Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much

Re: using the split command

by ww (Bishop)
on Jan 27, 2012 at 04:31 UTC ( #950258=note: print w/replies, xml ) Need Help??

in reply to using the split command

"I need this for my work!"

Then I need your paycheck.

Seriously, this is not code-o-matic (and even there, I think, you have to drop your nickle in the slot.)

The Monastery exists for many reasons, but doing your work isn't one of them. OTOH, we will -- and gladly -- help you over a problem, when you show you've tried to solve it (by posting your code, your sample data -- you did well there-- and any error messages or an explicit, detailed description of how your program failed and what it was supposed to do -- good job on that part, as well.

So really, all you need to do is:

  • Open and read A.txt
  • Do the same for B.txt
  • a. Read the FAQ on comparing arrays... or Super_Search for related threads here
    b. Read File::Compare and understand it
    c. Implement based on what you've learned
  • Hand in finished project; collect paycheck; go home and study some more.

P.S. re your "ex" code: it's not at all what's recommended above. See On asking for help and How do I post a question effectively?... and it's not in markup, <c>...code and data should be bracketed with code tags....</c> like those.

Fixed link for compare

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://950258]
[stevieb]: 16.96 hours of runtime of a Raspberry Pi on a 12v, 7.2Ah battery :) Now to watch now long it takes to recharge the battery completely with my 18v solar cells in the sun :)
[stevieb]: my high-range estimate was 18 hours
[stevieb]: battery was at about 95% capacity when the test began
[stevieb]: in the meantime while it was on battery, I got my shift register issues fixed, as well as certain interrupt issues

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (6)
As of 2017-03-26 15:23 GMT
Find Nodes?
    Voting Booth?
    Should Pluto Get Its Planethood Back?

    Results (315 votes). Check out past polls.