Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number

Re: using the split command

by ww (Archbishop)
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]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (6)
As of 2017-10-23 03:16 GMT
Find Nodes?
    Voting Booth?
    My fridge is mostly full of:

    Results (276 votes). Check out past polls.