1833315 Members
3001 Online
110051 Solutions
New Discussion

Re: Help with a script!

 
SOLVED
Go to solution
harry d brown jr
Honored Contributor

Re: Help with a script!

See my last post and remember to use the NEW script I posted:

Change the print to this:


printf("%s/%s,%s:%s,%s,%s,%s,%s\n",
$f_day,$f_month,$f_hour,$f_min,$f_faxid,$f_caseid,$f_user,$f_casetyp
e);

DD/MM,HH:MM,faxid,caseid,user,casetype


live free or die
harry
Live Free or Die
harry d brown jr
Honored Contributor

Re: Help with a script!

Procura,

Damn GOOD show! Thanks for the tips! That is some fine programming!

One thing I probably won't use much is "next", being that I hate goto's and implied goto's. Something I avoid like the plague, even in the days of COBOL I would NOT use the CONTINUE statement, and I have written over a million lines of COBOL code without a goto or a continue. And in other languages I have written millions of lines of code, again without the use of goto's or implied goto's (Though loop's like for/while don't count as implied goto's).


I have always believed that readability is as important as usability. When a program is readable at a glance then it's maintenance costs are lowered.



live free or die
harry
Live Free or Die
H.Merijn Brand (procura
Honored Contributor

Re: Help with a script!

ActivePerl for HP-UX. Hmmm, there won't be a large user base for it I guess. ActivePerl has earned its respect in the Win32 world (where I use it too), but I for sure prefer any of the two ports I mentioned earlier for the simple reason that these are very easy to extend with your own or CPAN's modules, where ActivePerl can cause trouble.

I never knew ActivePerl also ports to HP-UX. It's ftp only shows Linux, Solaris and Windows.

If you *are* on Win32, you are in the wrong group here, but you very well managed to conceil that :))
Enjoy, Have FUN! H.Merijn
MAD_2
Super Advisor

Re: Help with a script!

Harry, Procura! I think I can't ask for more, excellent, just what I needed... And now the learning is on me!
Contrary to popular belief, Unix is user friendly. It's just very particular about who it makes friends with