Hi Guyies
I am working on a script that parse the excel sheets and write the data into
another excel sheet.
we have more than 40 excel file to parse ,
when i am parsing excel sheet i am getting out of memory error
out of memory issues comes after some file has parsed
if i parsed 5 or 6 file
hi it is ananymous subroutine
Here $_ means value of the argument that passed to the sunroutine
And
$$_ you can understand like below
$name="ajay";
$class="name"
$$class== ajay
Thanks
Ajay
-Original Message-
From: Shawn H Corey [mailto:shawnhco...@gmail.com]
Sent: Thursday, Septem
hi All
I have some zip data that contans name of different file
when i unzipped data i got hundreds of file i passed each file in a
subroutine and parse the data and write into excel sheet
i am passing approximate 196 file individually
during parsing and writiting into excel script is taking
You you put below word in "" Quote it treat as a string and if it kept in
single quote it treat as character so for the DNS(domain name space) it
should treat as charaterwies not as string so that it can read data from the
link
-Original Message-
From: Dr.Ruud [mailto:rvtol+use...@is
ay
-Original Message-
From: beginners-h...@perl.org [mailto:beginners-h...@perl.org]
Sent: Friday, August 21, 2009 3:43 PM
To: Ajay Kumar
Subject: WELCOME to beginners@perl.org
Hi! This is the ezmlm program. I'm managing the beginners@perl.org mailing
list.
I'm working for my owner, w
Thanks a lot
-Original Message-
From: Steve Bertrand [mailto:st...@ibctech.ca]
Sent: Thursday, June 18, 2009 3:01 PM
To: Ajay Kumar
Cc: beginners@perl.org
Subject: Re: "list the user working on a single file"
Ajay Kumar wrote:
> Hi all
> I have one requirement that
>
Hi all
I have one requirement that
Suppose I have one file sample.txt
I just want one mail if anybody touch this file
Can you guys suggest me how I can implement this ?
Your suggestion would be appreciated
Thanks in advanced
2.3.56 or 2.0.12 and so on...
plz advice
____
From: Ajay Kumar
To: Irfan Sayed
Cc: "beginners@perl.org"
Sent: Wednesday, June 17, 2009 5:01:41 PM
Subject: RE: regular expression help
Hi Irfan
This code solve your problem
my $p="\"ProductName
Hi Irfan
This code solve your problem
my $p="\"ProductName\" = \"8:EXFO RTU System 1.2.42\"";
my ($val)=$p=~ m/\d+.\d+.(\d+)\"/;
my $inval=$val+1;
$p=~s/$val/$inval/;
print"===$p\n";
thanks
Ajay
-Original Message-
From: Irfan Sayed [mailto:irfan_sayed2...@yahoo.com]
Sent: Wednesday, June
Hi Irfan
You can do all four task like below
1: open FILE ,">filename.txt" or die$!;
2: my @lines=
3: do changes through sed
Like sed -e 's/original pattern/new pattern/p' filename
4:if you did changes it automatically get saved
5: close(FILE);
Thanks
Ajay
-Original Message-
Fr
Just redirect in some temporary file
Like
Open STDERR,">/den/null";
That's it
-Original Message-
From: Noah Garrett Wallach [mailto:djb...@sffun.org] On Behalf Of admin2
Sent: Thursday, May 28, 2009 5:38 AM
To: Perl Beginners
Subject: suppressing Use of uninitialized value in pattern m
Because first element of the array is empty
-Original Message-
From: sanket vaidya [mailto:sanket.vai...@patni.com]
Sent: Wednesday, May 27, 2009 4:16 PM
To: beginners@perl.org
Subject: Question about split
Hi all,
Kindly look at the code below:
use warnings;
use strict;
$_ = '
Hi
Here (.) means current directory
(..) means parent directory
But you are getting (..) and (...)
Because you kept one (.) in map{{$_.\n"}
Remove the (.) after $_ you will get correct output
Thanks
Ajay
-Original Message-
From: Telemachus [mailto:telemac...@arpinum.org]
Sent: M
Hi Alexander
Or you can use this
($temp=~ m/([A-Za-z0-9]{5})\.([0-9]{1,2})[+-]([0-9]{1,4})\.([0-9]{1,4})/);
This is more compact and accurate
Thanks and regards
Ajay
-Original Message-
From: Alexander Koenig [mailto:alexander.koe...@mpi.nl]
Sent: Tuesday, May 19, 2009 7:25 PM
To: beginn
It's good for the beginners
-Original Message-
From: John W. Krahn [mailto:jwkr...@shaw.ca]
Sent: Sunday, April 05, 2009 9:24 PM
To: Perl Beginners
Subject: Re: Using array from subroutine
Thomas H. George wrote:
> In order to call them from menubuttons I moved my code into subroutines.
>
15 matches
Mail list logo