[svn-commits] tzafrir: tools/trunk r8630 - /tools/trunk/xpp/perl_modules/Dahdi/Hardware/USB.pm
SVN commits to the Digium repositories
svn-commits at lists.digium.com
Mon May 17 05:29:41 CDT 2010
Author: tzafrir
Date: Mon May 17 05:29:38 2010
New Revision: 8630
URL: http://svnview.digium.com/svn/dahdi?view=rev&rev=8630
Log:
A more correct way to pass parameters
Modified:
tools/trunk/xpp/perl_modules/Dahdi/Hardware/USB.pm
Modified: tools/trunk/xpp/perl_modules/Dahdi/Hardware/USB.pm
URL: http://svnview.digium.com/svn/dahdi/tools/trunk/xpp/perl_modules/Dahdi/Hardware/USB.pm?view=diff&rev=8630&r1=8629&r2=8630
==============================================================================
--- tools/trunk/xpp/perl_modules/Dahdi/Hardware/USB.pm (original)
+++ tools/trunk/xpp/perl_modules/Dahdi/Hardware/USB.pm Mon May 17 05:29:38 2010
@@ -123,7 +123,7 @@
}
sub _get_attr_optional($$) {
- my ($attr_file, $def_val) = $@;
+ my ($attr_file, $def_val) = @_;
eval {return _get_attr($attr_file)};
More information about the svn-commits
mailing list