- or download this
my $time_ = localtime;
my $date = ParseDate($time_);
...
$unix_date =~ s/ //g;
$ash_{date} = $unix_date;
$ash_{temp} = gct();
- or download this
use POSIX 'strftime';
$ash_{date} = strftime $d_format[0], localtime;
- or download this
my %cash = build_comp_hash();
push @aoh, { %cash };
graphable_arrays();
- or download this
push @aoh, { build_comp_hash() };
- or download this
@xdata = ();
@ydata = ();
...
}
else{}
}
- or download this
@xdata = ();
@ydata = ();
...
push @xdata, $hash->{ date };
push @ydata, $hash->{ temp };
}