diff options
author | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2009-03-07 15:59:28 -0800 |
---|---|---|
committer | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2009-03-07 15:59:28 -0800 |
commit | f7be9cad795c67d5d1653aed193171139de6021b (patch) | |
tree | 45b79bce5c755e6f5082a76f433485466a00db9f /lib/Vyatta/Qos/Util.pm | |
parent | 4ff7f439e649515f6e286d977a05c062d4fe771a (diff) | |
download | vyatta-cfg-qos-f7be9cad795c67d5d1653aed193171139de6021b.tar.gz vyatta-cfg-qos-f7be9cad795c67d5d1653aed193171139de6021b.zip |
Reindent Util.pm and enable strict check.
Diffstat (limited to 'lib/Vyatta/Qos/Util.pm')
-rw-r--r-- | lib/Vyatta/Qos/Util.pm | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/lib/Vyatta/Qos/Util.pm b/lib/Vyatta/Qos/Util.pm index acfad93..c78e762 100644 --- a/lib/Vyatta/Qos/Util.pm +++ b/lib/Vyatta/Qos/Util.pm @@ -16,13 +16,14 @@ # **** End License **** package Vyatta::Qos::Util; -our @EXPORT = qw(getRate getPercent getBurstSize getProtocol getDsfield getTime); -our @EXPORT_OK = qw(interfaceRate getIfIndex); -use base qw(Exporter); - use strict; use warnings; +our @EXPORT = + qw(getRate getPercent getBurstSize getProtocol getDsfield getTime); +our @EXPORT_OK = qw(interfaceRate getIfIndex); +use base qw(Exporter); + sub get_num { use POSIX qw(strtod); my ($str) = @_; |