Skip to content

Instantly share code, notes, and snippets.

@lilithlavender
Last active August 29, 2015 14:24
Show Gist options
  • Select an option

  • Save lilithlavender/aa17c0d3ab972f942308 to your computer and use it in GitHub Desktop.

Select an option

Save lilithlavender/aa17c0d3ab972f942308 to your computer and use it in GitHub Desktop.
this bheavior is apperling
<body>
<ul>
<li>amariipb</li>
<ul>
<li>Disks<li>
<ul>
</ul>
<li>ARRAY(0x1ce7210)</li>
<li>ARRAY(0x1ce7c00)</li>
<li>ARRAY(0x1cebb50)</li>
<li>ARRAY(0x1d1a428)</li>
<li>ARRAY(0x1d708f0)</li>
</ul>
</ul>
$VAR1 = [
'amariipb',
[
'/var',
11
],
[
'/dev/shm',
0
],
[
'/boot',
8
],
[
'/users/kiwi',
81
],
[
'/usr',
50
],
[
'/tmp',
52
],
[
'/',
67
],
'0.83',
1,
undef,
1,
1
];
if ( @allsites != 0 ){
foreach $site (@allsites){
$html.=" <ul>\n";
$html.=" <li>$site->[0]</li>\n";
$html.=" <ul>\n";;
$html.=" <li>Disks<li>\n";
$html.=" <ul>\n";
# foreach $disk ($site->[1]){
# $html.=" <li>$disk->[0]\t$disk->[1]</li>\n";
# }
$html.=" </ul>\n";
$html.=" <li>$site->[2]</li>\n";
$html.=" <li>$site->[3]</li>\n";
$html.=" <li>$site->[4]</li>\n";
$html.=" <li>$site->[5]</li>\n";
$html.=" <li>$site->[6]</li>\n";
$html.=" </ul>\n";
$html.=" </ul>\n";
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment