9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi Guys,
I am stuck in between and seeking help here.
Requirement: A script that will run every morning which will connect to Mysql database and run the query to inform us about the holidays (it will also check if there were any holidays during last 2 business days). So the three queries are... (11 Replies)
Discussion started by: Sambit Sahu
11 Replies
2. Solaris
Hi,
I am facing issue with one of the drive is solaris 10. it is showing offline in the messages file
scsi: WARNING: /pci@2,600000/QLGC,qlc@0/fp@0,0/ssd@w5006016746e00b1b,0 (ssd0):
drive offline
genunix: WARNING: Page83 data not standards compliant DGC LUNZ 0430
... (1 Reply)
Discussion started by: Prasanth T K
1 Replies
3. HP-UX
Hi,
I wanted to configure new iscsi port on HPUX system, i added the target port address and configured it, once done, went to array side and searched for that host iqn number , but was nt able to find the same, came to host, then when i ran "iscsiutil -pVS" command it gave me below result
... (0 Replies)
Discussion started by: Vinay Kumar D
0 Replies
4. Solaris
Hi,
I've noticed that mpathadm states that one of our luns has no active paths:
/dev/rdsk/c6t60000970000298700009533031324333d0s2
Total Path Count: 4
Operational Path Count: 4
/dev/rdsk/c6t60000970000298700009533031333037d0s2
... (3 Replies)
Discussion started by: badoshi
3 Replies
5. UNIX for Dummies Questions & Answers
Greetings!
I need a quick way to change the format in a table of data
Here is an example of the input:
10 72 Value=177 VDB=0.0245 Value4=0,0,171,0
10 274 Value=238 VDB=0.0433 Value4=29,0,205,0
10 312 Value=222 VDB=0.0384 Value4=8,0,190,19
10 540 Value=405 VDB=0.0391 Value4=13,30,153,195... (3 Replies)
Discussion started by: Twinklefingers
3 Replies
6. Red Hat
Hi guys I have been asked for the following:
SMI Oracle database PTP10 Oracle 10g RAC on usdfslprac4 and usdfslprac5 Linux boxes is reaching its space limit. It is just 20 GB away from being completely out of disk space. And then database will stop working and SMI system hence will be impacted.... (0 Replies)
Discussion started by: 300zxmuro
0 Replies
7. Solaris
Hi Kudo,
I wanna to know that how can I do mpxio device name to os native name mapping without using stmsboot -L I tried everything still not able to got the solution till I able to get these o/p
here is native disk info as well physical wat is the logical OS name of the disk
... (1 Reply)
Discussion started by: tarunn.dubeyy
1 Replies
8. Filesystems, Disks and Memory
hi fren
i am facing this problem
i have sun 6140 storage
30 volumes
bt my vxdisk list output is showing 37 disk
which shd nt b there
has neone faced this proble earlier
vxdiks list output is like this
SUN6140-2_0 auto - - online c4t201700A0B84853C0d2s2
SUN6140-2_1 auto - - online... (13 Replies)
Discussion started by: bond_ankur
13 Replies
9. Shell Programming and Scripting
Hello,
For 2 days now i've been searching for a solution to this. I am now beginning to doubt this is even possible. It's even harder when you don't know how to search for it. (which keywords generate enough relevancy etc..)
I need to parse a config file to generate a CSV file in return.
It... (7 Replies)
Discussion started by: zer0dvide
7 Replies
Data::Format::HTML(3pm) User Contributed Perl Documentation Data::Format::HTML(3pm)
NAME
Data::Format::HTML - Format Perl data structures into simple HTML
SYNOPSIS
use Data::Format::HTML;
my $f = Data::Format::HTML->new;
my %hash = (simple => 'hash');
# Of course it's very unlikely that you won't deal ever with this
# kind of structure, but HTML is able to hand it all anyway :)
my $struct = {
foo => 'bar',
1 => 2,
'hello' => 'goodbye',
array_ref => [qw/one two three/],
nested_hash => \%hash,
[qw/1 2/] => sub { die; },
even_more => { arr => {
1 => [2, 3, 4],
this_is_insane => { a => { b => { c => { d => { e => 'z'}}}}}
},
},
};
$struct->{'Data::Format::HTML handles it all'} = $f;
print $f->format();
And that will output the following insane, but possible, for the sake of showing, HTML:
In theory you can pass any kind of Perl data structure to "format" and you will get its data HTML-formatted.
TODO
o A LOT. ;)
o Explain how CSS can prettify the tables (specification for everything)
o Get CSS.
o Better support for GLOB, CODE, REF and company.
o Extend this documentation.
SEE MORE
The author keeps the versioned code at GitHub at: http://github.com/damog/data-format-html/tree/master <http://github.com/damog/data-
format-html/tree/master>.
AUTHOR
David Moreno Garza, <david@axiombox.com> - <http://damog.net/>
THANKS
To Raquel (<http://www.maggit.com.mx/>), who makes me happy every single day of my life.
COPYRIGHT AND LICENSE
Copyright (C) 2008 by David Moreno Garza
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.8 or,
at your option, any later version of Perl 5 you may have available.
The Do What The Fuck You Want To public license also applies. It's really up to you.
perl v5.12.3 2009-07-17 Data::Format::HTML(3pm)