Hi,
I have a file containing the following data:
junk123junk723itemcode001qty01price10total10junkjunk
junk123junk723itemcode002qty02price10total20junkjunk
..
..
..
could be 5000+ lines
I have an algo and need a code to implement this:
1. Linecount = wc -l (should give 5000)
2. For i... (1 Reply)
Hello how are you, i have a question i have a file ale.log and i want to agregate a title and later a space when the text is over and put another title (when the text is over) how can i do this? thank you
Example
Last ------>(Title) i want to agregate
pupu pupu pupu pupu... (1 Reply)
Hy all,
I have a problem...can some one help me...
I have a file of records sort:
30|239|ORD|447702936929 |blackberry.net |20080728|141304|00000900|2|0000000000000536|28181|0000000006|0000000001|10|1
30|239|ORD|447702936929 |blackberry.net ... (4 Replies)
Hi
I have a question related to load balancing.I have two separate internet connections with 2Mbps speed and i would like to aggregate this two connections intro one connection with 4Mbps.Is it possible to do that, to put a Linux or Unix machine as a gateway?I read some stuff to split the... (3 Replies)
Hi experts,
I need an help on the task below.
INPUT: values separated by the tab,first row is the header
20110609 AS A 300.5000
20110609 AS R 200.5000
20110609 BR A 111.5000
20110609 BR R 222.5000
20110610 AS A 100.5500
20110610 AS ... (2 Replies)
Hi all,
I have a problem where i'm trying to identify on which remote hosts the apps are running, ssh into it and restart them.
In case more than 1 apps is running on same remote host, i want to be able to group it and ssh only once.
E.g:
app1 = 1.1.1.1
app2 = 1.1.1.2
app3 =... (4 Replies)
hi all,
i start with solaris 11 and i am disapointed by the change on ip managing.
i want to set a ipmp over tow aggregate but i dont find any doc and i am lost with the new commande
switch1
net0 aggregate1 |
net1 aggregate1 |-----|
|... (1 Reply)
Discussion started by: sylvain
1 Replies
LEARN ABOUT DEBIAN
test::aggregate::nested
Test::Aggregate::Nested(3pm) User Contributed Perl Documentation Test::Aggregate::Nested(3pm)NAME
Test::Aggregate::Nested - Aggregate "*.t" tests to make them run faster.
VERSION
Version 0.364
SYNOPSIS
use Test::Aggregate::Nested;
my $tests = Test::Aggregate::Nested->new( {
dirs => $aggregate_test_dir,
verbose => 1,
} );
$tests->run;
DESCRIPTION
ALPHA WARNING: this is alpha code. Conceptually it is superior to "Test::Aggregate", but in reality, it might not be. We'll see.
This module is almost identical to "Test::Aggregate" and will in the future be the preferred way of aggregating tests (until someone comes
up with something better :)
"Test::Aggregate::Nested" requires a 0.8901 or better of "Test::More". This is because we use its "subtest" function. Currently we
"croak" if this function is not available.
Because the TAP output is nested, you'll find it much easier to see which tests result in which output. For example, consider the
following snippet of TAP.
1..2
1..5
ok 1 - aggtests/check_plan.t ***** 1
ok 2 - aggtests/check_plan.t ***** 2
ok 3 # skip checking plan (aggtests/check_plan.t ***** 3)
ok 4 - env variables should not hang around
ok 5 - aggtests/check_plan.t ***** 4
ok 1 - Tests for aggtests/check_plan.t
1..1
ok 1 - subs work!
ok 2 - Tests for aggtests/subs.t
At the end of each nested test is a summary test line explaining which program we ran tests for.
"Test::Aggregate::Nested" asserts a plan equal to the number of test files aggregated, something which "Test::Aggregate" could not do.
Because of this, we no longer export "Test::More" functions. If you need additional tests before or after aggregation, you'll need to run
the aggregated tests in a subtest:
use Test::More tests => 2;
use Test::Aggregate::Nested;
subtest 'Nested tests' => sub {
Test::Aggregate::Nested->new({ dirs => 'aggtests/' })->run;
};
ok $some_other_test;
CAVEATS
"Test::Aggregate::Nested" is much cleaner than "Test::Aggregate", so I don't support the "dump" argument. If this is needed, let me know
and I'll see about fixing this.
The "variable will not stay shared" warnings from "Test::Aggregate" (see its CAVEATS section) are no longer applicable.
AUTHOR
Curtis Poe, "<ovid at cpan.org>"
BUGS
Please report any bugs or feature requests to "bug-test-aggregate at rt.cpan.org", or through the web interface at
http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Test-Aggregate <http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Test-Aggregate>. I will be
notified, and then you'll automatically be notified of progress on your bug as I make changes.
SUPPORT
You can find documentation for this module with the perldoc command.
perldoc Test::Aggregate
You can also look for information at:
o AnnoCPAN: Annotated CPAN documentation
http://annocpan.org/dist/Test-Aggregate <http://annocpan.org/dist/Test-Aggregate>
o CPAN Ratings
http://cpanratings.perl.org/d/Test-Aggregate <http://cpanratings.perl.org/d/Test-Aggregate>
o RT: CPAN's request tracker
http://rt.cpan.org/NoAuth/Bugs.html?Dist=Test-Aggregate <http://rt.cpan.org/NoAuth/Bugs.html?Dist=Test-Aggregate>
o Search CPAN
http://search.cpan.org/dist/Test-Aggregate <http://search.cpan.org/dist/Test-Aggregate>
ACKNOWLEDGEMENTS
Many thanks to mauzo (<http://use.perl.org/~mauzo/> for helping me find the 'skip_all' bug.
Thanks to Johan LindstrA~Xm for pointing me to Apache::Registry.
COPYRIGHT & LICENSE
Copyright 2007 Curtis "Ovid" Poe, all rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
perl v5.12.4 2011-08-27 Test::Aggregate::Nested(3pm)