On Wed, Aug 13, 2008 at 8:14 AM, Thomas Lovell
<[EMAIL PROTECTED]>wrote:
>
> On Aug 13, 2008, at 4:25 AM, Irfan J Sayed (isayed) wrote:
>
> Hi All,
>>
>> I want to execute one command on remote Linux machine.
>>
>> Following is the perl code.
>>
>> #! /usr/bin/perl;
>>
>> # perl module to parse t
On Aug 13, 2008, at 4:25 AM, Irfan J Sayed (isayed) wrote:
Hi All,
I want to execute one command on remote Linux machine.
Following is the perl code.
#! /usr/bin/perl;
# perl module to parse the Install.log file for errors
use lib "/tmp/";
use Net::SSH::Perl;
my $ssh = Net::SSH::Perl->n
"DeeDee Messersmith" schreef:
> I have strings such as the following:
>
> .INSERT,SCREW THREAD..
>
> I need the leading dots but not the trailing. As you see it has
> commas and spaces in it so the traditional \w doesn't work. the .*
> doesn't work as it picks up the trailing dots. T
jis wrote:
Hi
Hello,
I simply could not open a file which is in the same path as my script
is.
i could open the file if i explicitly mention the path. but i dont
want that..
my script is..
use strict;
use warnings;
my $fil="pdef.txt";
open(DEFILE,"<$fil")|| die "Couldnt open pdef file -
On Wed, 2008-08-13 at 03:12 -0700, jis wrote:
> Hi
>
> I simply could not open a file which is in the same path as my script
> is.
> i could open the file if i explicitly mention the path. but i dont
> want that..
>
> my script is..
>
> use strict;
> use warnings;
> my $fil="pdef.txt";
> open
Hi
I simply could not open a file which is in the same path as my script
is.
i could open the file if i explicitly mention the path. but i dont
want that..
my script is..
use strict;
use warnings;
my $fil="pdef.txt";
open(DEFILE,"<$fil")|| die "Couldnt open pdef file - $!\n";
Any idea what
On Tue, 2008-08-12 at 23:56 -0700, Arun wrote:
> Hi,
>As i am new to perl i just wanted to define a string with the
> current date and time.
> For example:
> current_date-current_time::Arun::current_date,current_time,Prakash
>
> so how do i define this string..
>
>
The simplest way
On Wed, 2008-08-13 at 20:45 +0300, Octavian Rasnita wrote:
> Hi,
>
> Does anyone know where I could find information about creating peer to peer
> applications in perl?
> (Like messengers that don't require a base server...)
>
> If it is possible to do it in perl, please tell me where I can find
Hi,
Does anyone know where I could find information about creating peer to peer
applications in perl?
(Like messengers that don't require a base server...)
If it is possible to do it in perl, please tell me where I can find more
about it if you know.
Thank you.
Octavian
--
To unsubscribe
On Wed, Aug 13, 2008 at 10:05 AM, John W. Krahn <[EMAIL PROTECTED]> wrote:
> Kashif Salman wrote:
>
>> Greetings,
>>
>
> Hello,
>
> I have a log file like so, and I am trying to get the date on the next
>> line
>> after "Start..." line. So for the log below I'd like to get the output
>>
>> 04/06/
Hi,
As i am new to perl i just wanted to define a string with the
current date and time.
For example:
current_date-current_time::Arun::current_date,current_time,Prakash
so how do i define this string..
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMA
On Wed, 2008-08-13 at 02:32 -0700, Debraj wrote:
> Hi
>
> The script ( mentioned below ) works fine if I do a
>
> setenv LD_LIBRARY_PATH /OracleProd/oracle9i/lib/
>
> before executing the script. But if I don't do that instead put it
> within the script like :
>
>
> $ENV{'LD_LIBRARY_PATH'} = "
On 12 Aug, 10:01, [EMAIL PROTECTED] ([EMAIL PROTECTED]) wrote:
> can any body tell me how to make clock in perl/mason
You have to be more specific about what you are trying to accomplish.
Try to start out at http://perldoc.perl.org and see what you can find.
Best regards.
--
To unsubsc
Hi
The script ( mentioned below ) works fine if I do a
setenv LD_LIBRARY_PATH /OracleProd/oracle9i/lib/
before executing the script. But if I don't do that instead put it
within the script like :
$ENV{'LD_LIBRARY_PATH'} = "/OracleProd/oracle9i/lib";
it throws this error :
DBI version is -->
> >>> I get this error:
> >>> maximum input buffer length exceeded: 1048576 bytes at D:\Docs\Perl
> >>> \scripts\
> >>> ti_p2k_bld.pl line 33
>
> >>> This could be because $prematch is gets a very big string and so it
> >>> exceeds the limit which I had suspected before.
> >>> Bottomline, I want t
Kashif Salman wrote:
Greetings,
Hello,
I have a log file like so, and I am trying to get the date on the next line
after "Start..." line. So for the log below I'd like to get the output
04/06/05
05/06/05
06/06/05
But I also need to re-format that so the end result becomes:
2005-04-06
2005-
Greetings,
I have a log file like so, and I am trying to get the date on the next line
after "Start..." line. So for the log below I'd like to get the output
04/06/05
05/06/05
06/06/05
But I also need to re-format that so the end result becomes:
2005-04-06
2005-05-06
2005-06-06
Any hints?
M
Hi,
Really thanks for your answer, yes the second one doesnt compile because of
some error typos like 'if ($elements=>{$elm})', without the hash variable
($elements) it works,
But also, you are right, your code is faster than mine, :D
Again thanks for your answer.
Regards,
On Wed, Aug 13, 2008 at
Sorry guys and gals. I'm new and didn't reply to all.
I tried this and I got a message that it could not find this repository. I
can't cut and paste the errors but when I start my PPM (windows XP) it says:
Downloading tcool packlistfailed 411 length required. I got the same
thing when some
Hi All,
Thanks for reply.
I have Perl.pm installed in following path
[EMAIL PROTECTED] scripts]$ ls -l /tmp/Net/SSH/
total 32
-rwxr--r-- 1 cgadgil cgadgil 32724 Aug 13 06:42 Perl.pm
[EMAIL PROTECTED] scripts]$
And perl script I modified as follows
#! /usr/bin/perl;
# perl module to parse the AV
Irfan J Sayed (isayed) wrote:
>
> I want to execute one command on remote Linux machine.
>
> Following is the perl code.
>
> #! /usr/bin/perl;
>
> # perl module to parse the Install.log file for errors
>
> use lib "/tmp/";
> use Net::SSH::Perl;
> my $ssh = Net::SSH::Perl->new(avm-qa-c
Irfan J Sayed (isayed) wrote:
hi,
but I have mentioned the absolute path then perl interpreter should
take the Perl.pm from "/home/cgadgil/usr/net/ssh/perl"
it's very difficult for me to change the makefile as this is not under
my control. i can change only this script.
Please suggest
Rega
On Aug 13, 2008, at 4:25 AM, Irfan J Sayed (isayed) wrote:
Hi All,
I want to execute one command on remote Linux machine.
Following is the perl code.
#! /usr/bin/perl;
# perl module to parse the Install.log file for errors
use lib "/tmp/";
use Net::SSH::Perl;
my $ssh = Net::SSH::Perl->n
hi,
but I have mentioned the absolute path then perl interpreter should take
the Perl.pm from "/home/cgadgil/usr/net/ssh/perl"
it's very difficult for me to change the makefile as this is not under
my control. i can change only this script.
Please suggest
Regards
Irfan.
_
Irfan J Sayed (isayed) wrote:
Still the error is same.
Following is the code
#! /usr/bin/perl;
# perl module to parse the AVMInstall.log file for errors
use lib "/home/cgadgil/usr/net/ssh/perl";
use Net::SSH::Perl;
my $ssh = Net::SSH::Perl->new(avm-qa-cam2.cisco.com);
$ssh->login(cgad
Still the error is same.
Following is the code
#! /usr/bin/perl;
# perl module to parse the AVMInstall.log file for errors
use lib "/home/cgadgil/usr/net/ssh/perl";
use Net::SSH::Perl;
my $ssh = Net::SSH::Perl->new(avm-qa-cam2.cisco.com);
$ssh->login(cgadgil, cgadgil);
my($stdout, $
Irfan J Sayed (isayed) wrote:
Hi All,
I want to execute one command on remote Linux machine.
Following is the perl code.
#! /usr/bin/perl;
# perl module to parse the Install.log file for errors
use lib "/tmp/";
use Net::SSH::Perl;
my $ssh = Net::SSH::Perl->new(avm-qa-cam2.net.com
Hi All,
I want to execute one command on remote Linux machine.
Following is the perl code.
#! /usr/bin/perl;
# perl module to parse the Install.log file for errors
use lib "/tmp/";
use Net::SSH::Perl;
my $ssh = Net::SSH::Perl->new(avm-qa-cam2.net.com);
$ssh->login(cgadgil, cgadgil
28 matches
Mail list logo