Supporting Others' Scripts


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting Supporting Others' Scripts
# 1  
Old 04-08-2011
Supporting Others' Scripts

Not a programmer by profession but job entails perl/expect scripting. Generally that means that I/others write scripts for what I/they want/need and I/they support mine/theirs.

Due to a recent departure, I now have to support some perl scripts with 10k+ lines of code and little documentation.

Obviously, I can read the code but the sheer size of the files makes quickly understanding everything in the code a daunting task. Just wondering about the approaches used by others when taking over support for someone else's work.
# 2  
Old 04-08-2011
When you and nobody in the group have the knowledge:
1) Reach to other groups in the company.
2) Ask management to hire a consultant to help and teach.
# 3  
Old 04-08-2011
If by recent, you also mean sudden, then chances are you had no "hand-over".

For the most part, I hate maintaining other peoples' code. Everyone writes code differently, thinks differently, approaches problems differently, etc. And even the same person over time will code, think and approach problems differently. And they will maintain that code accordingly, and over time you end up with a 10k-line perl script that could be boiled down more specifically to what you know the problem today to be.

It's usually more important to know what the code is intended to accomplish, than how it might be doing it.

Perhaps your first task should be to break down that monolith, into manageable pieces, documenting it as you go. This would aid your understanding, and anyone else who had to use it would thank you!

As for "quick", there's probably no fix. Just bite the bullet and dig in!

Last edited by Scott; 04-08-2011 at 05:44 PM.. Reason: Added "For the most part"!
Login or Register to Ask a Question

Previous Thread | Next Thread

6 More Discussions You Might Find Interesting

1. HP-UX

Ftp command nlist not supporting in sftp

Hi, We are using HP-UX. Previously we were using ftp to connect to remote list the text file name and copy into local file with .ls extension. For this we are using nlist RBOBAR*.txt DMSFT.ls now we want to convert the integration with sftp. So In sftp nlist command is not supported. How can we... (8 Replies)
Discussion started by: Pelins
8 Replies

2. Shell Programming and Scripting

Ssh not supporting sudo and sqlplus commands

Hi Guys , I was facing an issue some thing like , I have to connect remote machine and should execute few commands over there , I am able to run some simple commands , but below commands are throws error like not found. eg : sudo su - username and sqlplus user/pwd@db , srvrmgr commands etc ... (8 Replies)
Discussion started by: chandini
8 Replies

3. Solaris

Supporting NIC speed

Hi, I have few Solaris (9 and 10) servers, whose consoles are running on 10 MBPs. Now, Network team is changing their switch, which doesn't support 10 MBPs and we need to check if console all of those servers will support 100MBPs or more. Is there any way to check supported (or maximum supported)... (7 Replies)
Discussion started by: solaris_1977
7 Replies

4. Red Hat

RHEL 3 is not supporting SCASI disk

Hi guys I am having some SCASI Driver issue while installing the RHEL 3 on SunFire X4200 series Server so can anyone help me out as how to get rid off from this problem. (2 Replies)
Discussion started by: daya.pandit
2 Replies

5. Linux

RHEL 3 is not supporting SCASI Disk

Hi guys I am having some SCASI Driver issue while installing the RHEL 3 on SunFire X4200 series Server so can anyone help me out as how to get rid off from this problem. (1 Reply)
Discussion started by: daya.pandit
1 Replies

6. HP-UX

tool supporting SPL

Hi, i heard a tool called "Source reader" used in HP-ux that supports for SPL language.I am also told it works similar to ctags and cscope as in C.Does anybody know abt this tool? If so plz share it with me ..... (0 Replies)
Discussion started by: vijaya2006
0 Replies
Login or Register to Ask a Question