On Tue, 17 Sep 2002, Pravesh Biyani wrote:
> hi
> i am using a log file which has three or more than three entries in a row and
>there are many rows..
>
> i would like to read the file and determine few things out of it.. i want to know
>the way to do it.
>
> Currently i am thinking of rea
use warnings;
use strict;
my @arr=(1,2,3);
print "orig",@arr,"\n";
@arr=(); # clear the array
print "now",@arr,'\n";
--- "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > Hi
> Suppose i have an array a[0]=1,a[1]=45,a[3]=78
> Is there a way to clear the @a array with just one
> command? so i can
>
>the request method of LWP::UserAgent returns a HTTP::Response object. Even
>though this isn't explicitly documented in the LWP::UserAgent docs
>(accessible via perldoc LWP::UserAgent), it seems like a reasonable first
>guess.
A function definition in Perl doesnt require you to specify
t
hi
i am using a log file which has three or more than three entries in a row and there
are many rows..
i would like to read the file and determine few things out of it.. i want to know the
way to do it.
Currently i am thinking of reading the file line by line and then search for items.,
bu
On Mon, 16 Sep 2002, Nandita Mullapudi wrote:
> I have a parsed output in a single file, that looks like this
>
> Pf_sumthing.bln
>
> blah
> blah
>
> Pf_sumthingelse.bln
>
> blah
> blah
>
> and so on,
> I want to parse this file such that i create 80 or as many little files,
> each has the
Is there an simple way, that if i have an array, to get an simple match with a regexp
to get that out as an variable?
i am thinking in the lines of: $test =~ /matching regexp/, @array
so it know what array it should look for this particular $test value matched by the
regexp? that didnt work,
On Thu, 12 Sep 2002, [EMAIL PROTECTED] wrote:
> Hi
> Suppose i have an array a[0]=1,a[1]=45,a[3]=78
> Is there a way to clear the @a array with just one command? so i can for
> example
> assingn new values like a[0]=10,a[1]=90 and for example leave a[3] empty
> Something like clear @a;
@a = ();
I have a parsed output in a single file, that looks like this
Pf_sumthing.bln
blah
blah
Pf_sumthingelse.bln
blah
blah
and so on,
I want to parse this file such that i create 80 or as many little files,
each has the filename as its respective Pf_something and content has the
blah blah.
can
Hi
Suppose i have an array a[0]=1,a[1]=45,a[3]=78
Is there a way to clear the @a array with just one command? so i can for
example
assingn new values like a[0]=10,a[1]=90 and for example leave a[3] empty
Something like clear @a;
Tanks
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additiona
thanks,
i ended up getting what i wanted with references:
&sub1(\@array,$var);
sub sub1() {
my ($ref, $var) = @_;
my @data = @$ref;
...
}
--- drieux <[EMAIL PROTECTED]> wrote:
>
> On Friday, Sep 13, 2002, at 16:29 US/Pacific,
> Anthony E. wrote:
> [..]
> > for example, i tried this, but
Hello
I have a perl script that runs a software build on NT4. The final stage
of this build creates a binary file called "gsm_gp_flash.abs". I want to
compare this to the previous instance of this file to see if anything
has changed. These *.abs files contain a date stamp, so even running a
diff
101 - 111 of 111 matches
Mail list logo