It works fine, just one issue. If a particular series has more than one block that begins with the same numbers, the print is like below:
In this example, the series 942 has 3 blocks of IMSIs related, so the print only for this command MGISP:IMSIS=942 is:
And the output should be:
But now is only printing the first line and with 942 only as below:
I think the first 4 fields could be get from lines in red.
May you help me to fix this part.
Thanks in advance.
My sql file xyz_abc.sql in this file there are multiple sql block in this block I need to find the following block
rem Subset Rows (&&tempName.*)
CREATE VIEW &&tempName.* AS
SELECT *
FROM &&tempName.*
WHERE f is not null
and replace with following code
rem Subset Rows... (9 Replies)
Hello,
I have a file like this:
FILE.TXT:
(define argc :: int)
(assert ( > argc 1))
(assert ( = argc 1))
<check>
#
(define c :: float)
(assert ( > c 0))
(assert ( = c 0))
<check>
#
now, i want to separate each block('#' is the delimeter), make them separate files, and then send them as... (5 Replies)
Hi,
I have 2 arrays:
@names=qw(amith veena chaitra);
@files=qw(file.txt file1.txt file3.txt);
There is one to one relationship between names and files.
There needs to be mapping created between names and files.
The output should be like this:
amith --> file.txt
veena --->... (3 Replies)
Hi,
I have a requirement with,
No~Dt~Notes
1~2011/08/1~"aaa
bbb
ccc
ddd
eee
fff
ggg
hhh"
Single column alone got splitted into multiple lines.
I require the output as
No~Dt~Notes
1~2011/08/1~"aaa<>bbb<>ccc<>ddd<>eee<>fff<>ggg<>hhh"
mean to say those new lines to be... (1 Reply)
Hi All,
I am newbie to linux. Can somebody help me with following requirement.
I have one huge line. I have to find out particular key/value pair to see the distinct value of that key.
Portion of the String:-
<?xml version="1.1" encoding="UTF-8"?> <Data><Val Ti="1342750845538" Du="0"... (5 Replies)
Hello,
Searched for a while and found some "line-to-column" script. My case is similar but with multiple fields each row:
S02 Length Per
S02 7043 3.864
S02 54477 29.89
S02 104841 57.52
S03 Length Per
S03 1150 0.835
S03 1321 0.96
S03 ... (9 Replies)
Hi,
I have a log file which has sessionids in it, each block in the log starts with a date entry, a block may be a single line or multiple lines. I need to sed (or awk) out the lines/blocks with that start with a date and include the session id.
The files are large at several Gb.
My... (3 Replies)
I want to bring values in the second column into single line for uniq value in the first column.
My input
jvm01, Web 2.0 Feature Pack Library
jvm01, IBM WebSphere JAX-RS
jvm01, Custom01 Shared Library
jvm02, Web 2.0 Feature Pack Library
jvm02, IBM WebSphere JAX-RS
jvm03, Web 2.0 Feature... (10 Replies)
Hi,
I have Solaris-10 OS on T5220. Both local disks were mirrored under SVM. Somehow when one disk gone bad (c0t1d0), other disk (c0t0d0) also got lot of bad block. We have readable data only on c0t0d0, but as soon as server comes after, it hangs when I run few commands because of read errors,... (1 Reply)
Discussion started by: solaris_1977
1 Replies
LEARN ABOUT DEBIAN
chart::clicker::data::series
Chart::Clicker::Data::Series(3pm) User Contributed Perl Documentation Chart::Clicker::Data::Series(3pm)NAME
Chart::Clicker::Data::Series - A series of key, value pairs representing chart data
VERSION
version 2.83
SYNOPSIS
use Chart::Clicker::Data::Series;
my @keys = (1, 2, 3, 4, 5, 6, 7, 8, 9, 10);
my @values = (42, 25, 86, 23, 2, 19, 103, 12, 54, 9);
my $series = Chart::Clicker::Data::Series->new({
keys => @keys,
value => @values
});
# Alternately, if you prefer
my $series2 = Chart::Clicker::Data::Series->new({
1 => 42,
2 => 25,
3 => 85,
4 => 23,
5 => 2,
6 => 19,
7 => 102,
8 => 12,
9 => 54,
10 => 9
});
DESCRIPTION
Chart::Clicker::Data::Series represents a series of values to be charted.
Despite the name (keys and values) it is expected that all keys and values will be numeric. Values is pretty obvious, but it is important
that keys also be numeric, as otherwise we'd have no idea how to order the data.
If you want to use text labels for your domain's see Chart::Clicker::Axis's tick_labels method.
ATTRIBUTES
keys
Set/Get the keys for this series.
add_to_keys
Adds a key to this series.
name
Set/Get the name for this Series
range
Returns the range for this series.
values
Set/Get the values for this series.
METHODS
key_count
Get the count of keys in this series.
add_to_values
Add a value to this series.
value_count
Get the count of values in this series.
add_pair ($key, $value)
Convenience method to add a single key and a single value to the series.
get_value_for_key ($key)
Returns the value associated with the specified key. This is necessary because not all series will have values for every key.
AUTHOR
Cory G Watson <gphat@cpan.org>
COPYRIGHT AND LICENSE
This software is copyright (c) 2012 by Cold Hard Code, LLC.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
perl v5.14.2 2012-06-22 Chart::Clicker::Data::Series(3pm)