DBI::st

2002-12-31 Thread gkhgkh
Does anyone know where I can find the DBI::st module? If have looked on CPAN and Activestate and cannot locate it. Thanks -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Remotely Change Def GW on Win32

2002-11-15 Thread gkhgkh
Does anyone know of a way to change the def gw remotely using perl? Thanks in advance. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

DBD::Sybase Question

2002-11-13 Thread gkhgkh
I am relatively new and always trying new things and now I am trying to print the output of a select statement to a file. However I am having issues, the print statement just prints the IN file to the outfile and not the results of the select statement. Inserts, deletes, updates etc work fine.

Win32 - Problem updating the registry

2002-11-01 Thread gkhgkh
I am trying to update the Registry using a script from David Roth's book Win32 Perl Programming. The script appears to run, no errors, however the Key does not get added to the registry. Any help is appreciated. Thanks #!/perl/bin/perl -w use strict; use Win32::Registry; my $Path = 'Softwa

Mail::Sender

2002-05-23 Thread gkhgkh
I receive the following error when using the Mail::Sender module. I am running it on Redhat 7.2. Any help in resolving this issue is appreciated. Thanks Use of uninitialized value in concatenation (.) or string at /usr/local/ActivePerl- 5.6/lib/site_perl/lib/5.6.1/Mail/Sender.pm Line 763,

Re: Calculating Last Login on Unix

2002-04-29 Thread gkhgkh
That gives me the information I want, the problem is it relies on wtmp. I believe wtmp gets nulled out on an ipl of the server and therefore nulls wtmp. Therefore I lose my history. What I am trying to do is identify user IDs that have not been used for say 60 days and get rid of them. Th

Calculating Last Login on Unix

2002-04-29 Thread gkhgkh
Is there a module or a method using perl to calculate the last login date for a user. I know I can do this by installing accounting, however I prefer not to do to other issues. Any thoughts/help is appreciated. Thanks -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-

Mail::Sender Timeout

2002-03-13 Thread gkhgkh
Where in the Sender.pm file can I find the parameter for timeout to the mail server? I need to increase this. I keep getting a cannot connect error. Thanks Grant -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Mail::Sender

2002-03-13 Thread gkhgkh
I am using Mail::Sender on AIX 4.3.3 and encounter the following error when running a script. Use of uninitialized value at /usr/opt/perl5/lib/site_perl/5.005/Mail/Sender.pm line 944, chunk 5. Can't use an undefined value as filehandle reference at /usr/opt/perl5/lib/site_perl/5.005/Mail/Sen

Regex Help

2002-03-12 Thread gkhgkh
Here is snippet of data: 'BRANCH ':'Kurt':'Strothenke' 'BRANCH ':'Michael':'Mulligan' 'BRANCH_SSC ':'Kevin':'Oaks' 'BRANCH_SSC ':'Thomas':'Grove' 'BRANCH_SSC ':'Stephen':'Orban' 'BRANCH_SSC ':'Gerald':'Parnell' 'BRANCH_SSC ':'Liane':'Mcintyre' 'BRANCHADMIN ':'Ann':'White' 'BRANCHAD

Email Attachments

2002-03-06 Thread gkhgkh
Within my perl script running on AIX I am using qx to run mpack to attach text files to an out going mail message. This works fine, however it is limited. I want to be able to add body to the message explaining the text file attachment. Are there any modules within perl or other freeware u

Looping Code ?

2002-02-27 Thread gkhgkh
What I am trying to do is get a total of line that matches a specific criteria and when it stops matching return the total to variable. If I have the following files: file1: file2: $line[1] = $field[0] AR AR

Changing Lines per page? $=

2002-02-27 Thread gkhgkh
I know it is possible to change the number of lines per page using $=. Can this be changed using a variable such as $=$page_length and if so where do you place this in your code? Any help is greatly appreciated. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [

Minor issues with format()

2002-02-26 Thread gkhgkh
I see what is happening, I think: I am writing to a separate file each time through the loop and format doesn't know that each time through is a different page, I think. Any pointers on how to tell format to print the header at the start of each new file would be greatly appreciated. Thank

Minor issues with format()

2002-02-26 Thread gkhgkh
The only problem I have with the following script is it does not print the header information on the first page. I must have missed something. I would appreciate any comments/suggestions. Thanks #!/usr/bin/perl -w use strict; use constant PATH => "/usr/local/scripts/security/sybase/user