Re: my telnet cmd output problem solved

2005-06-27 Thread MEENA SELVAM
i had to give a second command quit to get the output meena --- MEENA SELVAM <[EMAIL PROTECTED]> wrote: > > according to dump_log when remote cmd is executed, > the remote side sends the output, but printing > output > shows only []. where can i suspect? > meena > --- MEENA SELVAM <[EMAIL PROTEC

why is the $output returned by NET::Telnet->cmd is empty [ ], dump_log is Ok

2005-06-27 Thread MEENA SELVAM
according to dump_log when remote cmd is executed, the remote side sends the output, but printing output shows only []. where can i suspect? meena --- MEENA SELVAM <[EMAIL PROTECTED]> wrote: > hi, > > i am not getting the output of the remote command > execution, in the $output, though the dump_

Re: is this an array context or scalar context?, while using Net::Telnet

2005-06-27 Thread MEENA SELVAM
hi, i am not getting the output of the remote command execution, in the $output, though the dump_log shows that cmd is executed successfully, the following code involves scalar context or array context? my output ie temp array is printed as three blanklines followed by [] i want to kno

Re: Run a subroutine, then replace subroutine and run again

2005-06-27 Thread Jeff 'japhy' Pinyan
On Jun 27, Wagner, David --- Senior Programmer Analyst --- WGO said: Sorry, but I have two subroutines with the same name which is fine because I have not had a need to use the hashes which these two similar subroutines created. How do I run the subroutine and generate my set of hashes, then

Run a subroutine, then replace subroutine and run again

2005-06-27 Thread Wagner, David --- Senior Programmer Analyst --- WGO
Sorry, but I have two subroutines with the same name which is fine because I have not had a need to use the hashes which these two similar subroutines created. How do I run the subroutine and generate my set of hashes, then replace the sub with the other and run again, but into

Better place for OOPerl questions?

2005-06-27 Thread Scott R. Godin
Noting that this list is more oriented towards beginner questions/general inquiry, but not having found a perl.org list more geared towards advanced and/or OOPerl questions, I'm wondering: A> whether starting a perl.org oop list makes any sense? B> where would be a good place to post OOPerl que

default directory for emacs/perldb

2005-06-27 Thread Kelly Felkins
How does one set the current working directory for a perl debug session? I've tried the following: 1) start perl debug, then 'M-x cd'. 'M-x pwd' reports the correct directory, but a statement like "my $cwd = `pwd`;" gets the directory of the file being debugged. 2) tried starting emacs in the tar

Re: can anyone help resolve compilation error related to use constant

2005-06-27 Thread Wiggins d'Anconia
MEENA SELVAM wrote: > I have a section of code from a .pl file as follows: > > > package SF::Constants; > use Exporter; > > @ISA = qw(Exporter); > @EXPORT = qw(SF_SUCCESS SF_EINVAL SF_ENOSYS SF_ENOMEM > SF_ERANGE SF_EPERM SF_ENOENT SF_EEXIST SF_EDA

Re: can anyone help resolve compilation error related to use constant

2005-06-27 Thread MEENA SELVAM
I have a section of code from a .pl file as follows: package SF::Constants; use Exporter; @ISA = qw(Exporter); @EXPORT = qw(SF_SUCCESS SF_EINVAL SF_ENOSYS SF_ENOMEM SF_ERANGE SF_EPERM SF_ENOENT SF_EEXIST SF_EDATABASE SF_ESYNTAX SF_NOUSER SF_NOUSERR

RE: route STDOUT to file

2005-06-27 Thread Bakken, Luke
Manish Sapariya wrote: > I use screen as my tool to deal with unstable network connection. > Its command line version of vncviewer. > > Screen dameon allows me to reconnect the previously opened screen, > if I by mistake detache or exit the current shell, or network forces > my connection down. H

Re: Logger output behavior not wanted

2005-06-27 Thread Dave Gray
On 6/27/05, Pablo Wolter <[EMAIL PROTECTED]> wrote: > Hi, > > I have some troubles to figuring out by myself a way to add the output > of a script that I run by system function in perl into a logger. The > code I have is: [snip] > print LOG "-- $hostName Database backup\n"; > print LOG "--

Logger output behavior not wanted

2005-06-27 Thread Pablo Wolter
Hi, I have some troubles to figuring out by myself a way to add the output of a script that I run by system function in perl into a logger. The code I have is: #!/usr/bin/perl use Fcntl qw( O_RDONLY O_WRONLY O_CREAT );

Wrapper Script

2005-06-27 Thread Larsen, Errin M HMMA/IT
(I'm mailing this after posting through Google Groups. I didn't see it get posted, so I'm sending email instead. I hope this doesn't double post. If it does, I'm sorry.) Hi Perl folks, I am trying to write a wrapper script around an executable file so that I am able to better control the res

Re: deleting ldap users question

2005-06-27 Thread Dave Gray
On 6/27/05, Graeme McLaren <[EMAIL PROTECTED]> wrote: > Hi all, I am trying to delete entries from an LDAP server and I don't > understand why my code is not deleting the relevant entries. [snip] > here is my code: > # > #!/usr/bin/perl >

deleting ldap users question

2005-06-27 Thread Graeme McLaren
Hi all, I am trying to delete entries from an LDAP server and I don't understand why my code is not deleting the relevant entries. Using an ldap browser the top level directory has the following next to it: dc=test_ldap_server, dc=com There are four subdirectories within this directory: cn=

Re: route STDOUT to file

2005-06-27 Thread Manish Sapariya
I use screen as my tool to deal with unstable network connection. Its command line version of vncviewer. Screen dameon allows me to reconnect the previously opened screen, if I by mistake detache or exit the current shell, or network forces my connection down. I assume a non-perlish solution wil

accessing the systray

2005-06-27 Thread Andrew Gaffney
Is there a module that will allow me to put an icon in the systray (freedesktop.org compliant...fluxbox, gnome, etc.)? Searching CPAN for 'systray' turned up nothing. I'm going to take a stab at writing a systray plugin for irssi, just because someone claimed xchat was better because of the systray