in reply to Re^3: Some one help me with this code.how to make it work.
in thread Some one help me with this code.how to make it work.
I'd be glad to help.
The code is not terrible, on the surface. Frankly, it really only shows you're new to Perl -- no crime in that.
What was in question was whether or not the code was yours.
You still haven't made a convincing argument that it is -- but at least you are now addressing the questions.
So let's step through this, and see where we end up.
Let's start with this:
| tried to write a code to store the details of an employee into a text file as hash(%) |
For a newcomer, it is not surprising you simply tried to write the hash into a file directly -- Perl does so many things for us automatically, you might presume it can do this, too.
Sadly, however, this is not a reliable technique. There are ways to make it reliable, but (get used to this, BTW) there's a question you need to answer first:
Do you want to use a Module, or write all the code yourself?
Where we go next depends on your answer.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: Some one help me with this code.how to make it work.
by marinersk (Priest) on Apr 09, 2015 at 11:52 UTC | |
|
Re^5: Some one help me with this code.how to make it work.
by yedukondalu (Acolyte) on Apr 09, 2015 at 14:06 UTC | |
by aaron_baugher (Curate) on Apr 09, 2015 at 14:56 UTC | |
by marinersk (Priest) on Apr 09, 2015 at 19:20 UTC | |
by marinersk (Priest) on Apr 10, 2015 at 21:59 UTC | |
by marinersk (Priest) on Apr 13, 2015 at 16:24 UTC |