Hi Everyone,
I have a situation where I need to open a sftp connection, need to pull the
file and have to verify receipt of local file after that have to rename the
file in remote dir. For that, I wrote the following code. The code is giving
the output given below and coming out of the program.
Hi,
I am trying to run the following sub routine to copy a file from remote dir
to local. I am passing three arguments remote file, local file and the host
along with the user name. But, the program is not working. could somebody
please help me.
sub getFile {
my ( $rFile, $lFile, $rHost ) = @_;
Hi All,
I have the following code as part of my program;
print ---= $file, $localFile\n;
$sftp - get( $file, $localFile ) || warn(er0r
_--- $!.$sftp-status.\n);^M
Even though it has downloaded the file properly, it is giving the following
message:
---=
PROTECTED] wrote:
On Oct 23, 1:15 am, [EMAIL PROTECTED] (Kilaru Rajeev) wrote:
Hi All,
I am getting the following error in the *make test* part while istalling
the
*Crypt::DSA* module. Please give me an advice how to procede.
t/03-keygen.*Math::BigInt: couldn't load specified math
Hi All,
I am getting the following error in the *make test* part while istalling the
*Crypt::DSA* module. Please give me an advice how to procede.
t/03-keygen.*Math::BigInt: couldn't load specified math lib(s), fallback
to Math::BigInt::Calc* at
I think Learning perl is a better choice as per my knowledge. You can go
for the remaining after this.
Thanks,
Rajeev Kilaru
On 10/9/07, Paul Lalli [EMAIL PROTECTED] wrote:
On Oct 9, 7:28 am, [EMAIL PROTECTED] (Bhargav Purohit) wrote:
Instead to of starting directly with Camel Book(Learning
:
--- kilaru rajeev [EMAIL PROTECTED] wrote:
*cc* is installed at */usr/ucb/cc* but it is pointing to *
/opt/SUNWspro/bin/cc.* Please help me to make it point to the
/usr/bin/cc.
You may take a look at Makefile.PL and change something about the
complier.
But as a fast solution,how about
Hi All,
I got a problem while installing the module with *CPAN.pm* shell. At the
begining, it was asked to for some confiuguration settings. It could able to
find almost all settings except make. At first, I ignored that and moved to
install the modules but it is saying like the make test failed.
, it is not asking for the location again. How can I reconfigure
the cpan.pm shell settings.
Thanks,
Chas
On 8/30/07, Chas Owens [EMAIL PROTECTED] wrote:
On 8/30/07, kilaru rajeev [EMAIL PROTECTED] wrote:
Hi All,
I got a problem while installing the module with *CPAN.pm* shell. At the
begining
: Received stat reply T:101 I:0
Couldn't stat remote file: No such file or directory at sample.pl line 32
ERROR with get: No such file or directory
Finished
*
**I am not getting what it meant. Could you please helpme?
Thanks,
Rajeev Kilaru
On 8/24/07, kilaru rajeev [EMAIL PROTECTED] wrote:
Hi
(0xcdbe18) HASH(0xcdbec0) HASH(0xcdbf68)
I am not sure about the return value of the $sftp-ls(). I thought it will
return a list as in Net::FTP. How I should use it? Please help me.
Thanks,
Rajeev Kilaru
On 8/16/07, Chas Owens [EMAIL PROTECTED] wrote:
On 8/16/07, kilaru rajeev [EMAIL
Hi Chas,
It is perfect. Thanks a lot.
Regards,
Rajeev Kilaru
On 8/24/07, Chas Owens [EMAIL PROTECTED] wrote:
On 8/24/07, kilaru rajeev [EMAIL PROTECTED] wrote:
Hi Chas,
I was not given the proper arguments to the *new* function. That is
why, it
was failed to connect. This time I
Message-
From: kilaru rajeev [EMAIL PROTECTED]
Sent: Aug 16, 2007 1:28 PM
To: beginners@perl.org
Subject: Net:SFTP Configuration
Hi All,
I have installed Net:SFTP on my UNIX (SOLARIS) machine. I have generated
the
Public and Private key pair. I have installed the Public on my remote
to the
server.
Thanks,
Rajeev Kilaru
On 8/16/07, Chas Owens [EMAIL PROTECTED] wrote:
On 8/16/07, kilaru rajeev [EMAIL PROTECTED] wrote:
Hi Jeff,
I could able to connect to the remote machine with normall ssh. When I
treid
to connect through a perl program it is giving following error
Hi All,
I have installed Net:SFTP on my UNIX (SOLARIS) machine. I have generated the
Public and Private key pair. I have installed the Public on my remote
machine with the server as OpenSSH. All the dependent modules are also
installed. Please let me know what are all the remaining things I need
Hi,
Please explain me whats wrong with the following code as it is
respondingwith the some errors.
#!/usr/bin/perl -w
use strict;
$var1 = 'Hello World'; # always wanted to do that :-)
$var2 = $var1\n;
print $var2;
exit;
output:
Global symbol $var1 requires explicit package name at sample.pl
On 7/8/07, Ken Foskey [EMAIL PROTECTED] wrote:
On Sun, 2007-07-08 at 22:27 +0530, kilaru rajeev wrote:
Hi,
Please explain me whats wrong with the following code as it is
respondingwith the some errors.
#!/usr/bin/perl -w
use strict;
# Since you are use strict you must declare all
Hi,
Can anybody help me to add a directory to @INC variable?
Thanks,
Rajeev Kilaru
Thank you for your help,
Rajeev Kilaru
On 3/21/07, Rob Dixon [EMAIL PROTECTED] wrote:
kilaru rajeev wrote:
Hi,
Can anybody help me to add a directory to @INC variable?
use lib '/my/dir';
Take a look at
perldoc lib
HTH,
Rob
Hi Irfan,
Please find the following way.
@a = (1,2,3,4,2,3,5);
print --- @a\n;
my %b = undef;
foreach (@a){
print --- $_;
$b{$_} =undef;
}
@a = keys(%b);
print \n### @a;
rgds,
Rajeev Kilaru
On 2/13/07, Sayed, Irfan (Irfan) [EMAIL PROTECTED] wrote:
Hi All,
I have one
I got the output like ..
P:\C:\Documents and Settings\rkilaru\Desktop\prog.pl
--- 1 2 3 4 2 3 5
--- 1--- 2--- 3--- 4--- 2--- 3--- 5
### 4 1 3 2 5
P:\
Rajeev
On 2/13/07, kilaru rajeev [EMAIL PROTECTED] wrote:
Hi Irfan,
Please find the following way.
@a = (1,2,3,4,2,3,5);
print
Hi Irfan,
You can capture the exit status in the following way.
system(command);
$ExitStatus = $? 8;
Regards,
Rajeev kilaru
On 2/2/07, Sayed, Irfan (Irfan) [EMAIL PROTECTED] wrote:
Hi All,
I am executing following script. but even if the command execution fails
it prints as success exit
is the meaning of $? 8;
Regards
Irfan.
--
*From:* kilaru rajeev [mailto:[EMAIL PROTECTED]
*Sent:* Friday, February 02, 2007 8:23 PM
*To:* Sayed, Irfan (Irfan)
*Subject:* Re: command execution
Is it working, Irfan?
Rajeev
On 2/2/07, kilaru rajeev [EMAIL PROTECTED] wrote:
Hi
Hi All,
I want to calculate the time difference(hh:mm:ss) between two when they are
provided with date and time. Could anyone provide the module to handle this?
--
Thanks and Regards,
Rajeev Kilaru
Associate
Charles River Team
Franklin Templeton Technologies (FTT-ISC)
Hyderabad
Work Pone:
Thanks for your help.
Rajeev Kilaru
On 12/7/06, zentara [EMAIL PROTECTED] wrote:
On Tue, 5 Dec 2006 19:18:50 +0530, [EMAIL PROTECTED] (kilaru
rajeev) wrote:
Hi All,
I got a Little-endian UTF-16 Unicode C program character data, with very
long lines, with CRLF line terminators file. I want
install_driver(Oracle) failed: Can't load
'/u05/crd.v814/shared/perl/lib/site_perl/5.8.3/sun4-solaris/auto/DBD/Oracle/Oracle.so'
for module DBD::Oracle: ld.so.1: perl5.8.3: fatal: libclntsh.so.9.0: open
failed: No such file or directory at
line 315
Regards,
Rajeev Kilaru
On 12/7/06, kilaru rajeev [EMAIL PROTECTED] wrote:
install_driver(Oracle) failed: Can't load
'/u05/crd.v814/shared/perl/lib/site_perl/5.8.3/sun4-solaris/auto/DBD/Oracle/Oracle.so'
for module DBD::Oracle: ld.so.1: perl5.8.3: fatal: libclntsh.so.9.0: open
failed
Hi All,
I got a Little-endian UTF-16 Unicode C program character data, with very
long lines, with CRLF line terminators file. I want to sort it and then
what to extract some patterns from it. Could anyone let me know about this?
I wrote the program as it is an ordinary text file but i didnt get
Jenda,
I got a doubt here. Suppose the file does not contain any thing perl code.
If it contains only some data for configuration, is it possible to include
by using 'require' ?
Rajeev
On 12/5/06, Jenda Krynicky [EMAIL PROTECTED] wrote:
From: Dharshana Eswaran [EMAIL PROTECTED]
Anyway ..
Hi Dharshana,
Just Zipping the file will wont work. You have to include them in program
with 'use or 'require'. Try to do that.
Rajeev
On 12/1/06, Dharshana Eswaran [EMAIL PROTECTED] wrote:
Hi Randal,
I am trying to generate an exe file from few perl programs.
I have 4 files which are
Hi Dharsana,
Please check this link.
http://perldoc.perl.org/perlcc.html
I hope this will clarify your questions.
Regards,
Rajeev Kilaru
On 11/21/06, kilaru rajeev [EMAIL PROTECTED] wrote:
There are some programs call perlcc like that. You can change Perl files
as the executable.
rgds
Hi Roman,
Please sort the IP addresses with this way could help you,
@list = sort { $b = $a } @ip_addresses;
rgds,
Rajeev
-- Forwarded message --
From: Roman Daszczyszak [EMAIL PROTECTED]
Date: Nov 13, 2006 7:08 PM
Subject: Looking for a Perl module for proper IP sorting
To:
Hi,
I got a program which will access a exported variable in the shell.
Can anyone help me with this?
Hi,
I got some files in $BNY_DOWNLOAD which is a directory in windows. Now i
have to identify most recent one in that file and
have to move it $BNY_DATA directory it is also a directory. To identify the
most recent file I used sort command and sorted it
by using -M and and space ship operators.
Hi all,
I'm searching for a word in a file. I wrote the code like this.
while ( FH ) {
if ( /search_pattern/ ) {
executebale.
}
}
or
Can I use like,
@list = FH;
grep();# using grep on list
Let me know a faster way to search.
Regards,
Rajeev
Hi,
Please tell me how can we encrypt or decript file. Please give me the
information regarding this.
Regards,
Rajeev
Hi,
I'm working on unix system with perl. I'm getting some data from database
using DBI module.
I want to display its output on a web browser like netscape or firefox.
Please help me in this.
thanks and regards,
Rajeev kilaru
37 matches
Mail list logo