Hi,
This question may be out of scope for this mailing list.
But if there are also some good Unix mailing list out there for average
Unix shell programmers please let me know.
Appreciate your help,
Sincerely,
Satya
Anders Holm <[EMAIL PROTECTED]>
06/04/2004 10:40 AM
To: Stev
Hi,
I have a program with some ftp code in it. This is working fine on a Unix
machine but is giving the following error on a Windows machine.
>Can't locate Net/FTP.pm in @INC at
\\mmpapp01\nal_sd\gxsftp\programs\get-edi.pl line 17.
>BEGIN failed--compilation aborted at
\\mmpapp01\nal_sd\gxsftp
Thank you sir,
I corrected my code.
Regards,
satya
"John W. Krahn" <[EMAIL PROTECTED]>
05/20/2004 05:28 PM
To: [EMAIL PROTECTED]
cc: (bcc: Satya Devarakonda/HAM/AM/HONDA)
Subject:Re: perlglob on Windows platform
Satya Devarakonda wrote:
>
> Hi,
H
Hi,
I am trying to delete zero byte files using the following code:
for ($i=0; $i<[EMAIL PROTECTED];$i++) {
$filelst[$i] =~ s/\s//;
#Process creates zero byte file if nothing was found in
the mailbox
#Hence delete zero byte files
Hi,
I have a set of strings in array @search_key and a log file loaded into an
array @modem_log.
I want to extract lines that contain the keys and load them into four
arrays - @env_start, @env_end, @env_files, @env_bytes, @env_errors.
Can somebody tell me if what I am doing below is right?
Than
Thank you so much!!! I could not hold to check things for myself.
Satya::Novice_City;
---
Hi
My sincere thanks go to all those who answered and are answering my
question about - passing array to a function.
This is my first time on a technical mailing list and so had trouble
expressing my questions.
I started PERL recently and am primarily from a C programming background.
My intentio
Thank you very much.
I come from little bit of C program so was kind of suspcious.. So I am safe
using a reference created in a function.
Thanks again and regards,
Satya
Thank you Sir,
But is it not wrong to create an array in a function and send a reference
to the array back into the main function?
Because the scope of the array is limited to the function and calling a
reference that is not available(the variables local in scope to the
function are collapsed) m
Hi,
How can I pass an array to a function and get values back in it??? Here
are excerpts from my code.
sub getTimeInfo
{
my $sec = 0;
my $min = 0;
my $hour = 0;
my $day = 0;
my $mon = 0;
my $year = 0;
my $IsDST = 0;
my $week_day = 0;
my @ti
>>my @str_start = qw ( 1 0 28 27 34 );
>>my @str_length = qw ( 8 9 10 9 2 );
>>my @search_key = qw (FILETYPE.ZIP RBZ RBZ Bytes Errors);
>>Since search_key is used in a regular expression it might be better to
>>create one.
>>my $search_key = qr/FILETYPE.ZIP|RBZ|RBZ|Bytes|Errors/;
B
Thanks to all those guys who answered my question As you guys pointed out
the join worked without //s.
But the code also had some correction to be made (eg. line number 34) and
would look really like this(and not as I initially sent you folks).
There are still has some issues with line 11 and I a
Thank you - the / was the problem...
Satya Devarakonda
IS - EDI
Tufts Health Plan
Tel: 617-923-5587 X 3413
Fax: 617-923-
"Wag
Can somebody tell what is wrong with this.
I tried single quote (') in place of double quote(") neither of them work.
184 for ($i = 0; $i < @clm_types; $i++)
185 {
186@temp_str = grep (/$_/,@env_desc);
187@fields = split (/,/,$temp_str[@temp_str - 1],4);
188$env_final[$i] = join (/","
Can somebody tell what is wrong with this.
I tried single quote (') in place of double quote(") neither of them work.
for ($i = 0; $i < @clm_types; $i++)
{
@temp_str = grep (/$_/,@env_desc);
@fields = split (/,/,$temp_str[@temp_str - 1],4);
$env_final[$i] = join (/","/,$fields[1],$fie
I am sorry. This is how I used the FTP related code. But when "server"
refuses connection it doesn't die.
use Net::FTP;
eval {
my $ftp ="\0";
$ftp = Net::FTP->new( "server" , Debug => 0);
$ftp->login("ftp1","pass");
$ftp->cwd("//dir1/datatrend/test");
$ftp->put("clmgxstime.txt
Hi,
How do we trap errors during FTP? Can somebody throw some light on this
Thank you,
Satya Devarakonda
IS - EDI
Tufts Health Plan
Tel: 617-923-5587 X 3413
Fax: 617-923-
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi,
In one of my scripts I am trying to grep lines from a list that doesn't
have the word HOLD
@temp_str = grep ( {$_ ne /HOLD/}, @temp_str);
Can anybody help me on this.
Satya Devarakonda
IS - EDI
Tufts Health Plan
Tel: 617-923-5587 X 3413
Fax: 617-923-
--
To unsubscribe, e-mail: [
Hi,
In one of my scripts I am trying to grep lines from a list that doesn't
have the word HOLD
@temp_str = grep ( {$_ ne /HOLD/}, @temp_str);
Can anybody help me on this.
Satya Devarakonda
IS - EDI
Tufts Health Plan
Tel: 617-923-5587 X 3413
Fax: 617-923-
--
To unsubscribe, e-mail: [
Thanks again... Satya
"Brett W. McCoy"
inside a for loop.
regards,
Satya
- Forwarded by Satya Devarakonda/THP on 02/19/2002 05:18 PM -
Satya_Devarakonda@tufts-
health.com To:
[EMAIL PROTECTED]
cc:
arakonda/THP on 02/19/2002 05:18 PM -
Satya_Devarakonda@tufts-
health.com To:
[EMAIL PROTECTED]
cc:
02/19/2002 05:13 PM Subject: Grep
function i
-
Satya_Devarakonda@tufts-
health.com To: [EMAIL PROTECTED]
cc
Can somebody help me on what is wrong in the following piece of code?
foreach (@prv_lst)
{
$item = $_;
@list_prv = grep (/$item/, @txn_log);
print "The foll. are the Txn details for Trading Partner $item \n";
print @list_prv;
for (@txn_lst)
{
24 matches
Mail list logo