[254] in BarnOwl Developers

home help back first fref pref prev next nref lref last post

[D-O-H] r428 - trunk/owl

daemon@ATHENA.MIT.EDU (nelhage@MIT.EDU)
Thu Oct 29 18:04:11 2009

Resent-From: nelhage@mit.edu
Resent-To: barnowl-dev-mtg@charon.mit.edu
To: dirty-owl-hackers@mit.edu
From: nelhage@MIT.EDU
Reply-to: dirty-owl-hackers@MIT.EDU
Date: Sun, 29 Oct 2006 19:06:35 -0500 (EST)

Author: nelhage
Date: 2006-10-29 19:06:35 -0500 (Sun, 29 Oct 2006)
New Revision: 428

Modified:
   trunk/owl/perlwrap.pm
Log:
Changing the owl autoloads so that owl::start_command means
owl::command("start-command"), and so on.


Modified: trunk/owl/perlwrap.pm
===================================================================
--- trunk/owl/perlwrap.pm	2006-10-29 23:36:56 UTC (rev 427)
+++ trunk/owl/perlwrap.pm	2006-10-30 00:06:35 UTC (rev 428)
@@ -28,6 +28,7 @@
 sub AUTOLOAD {
     my $called = $AUTOLOAD;
     $called =~ s/.*:://;
+    $called =~ s/_/-/g;
     return &owl::command("$called ".join(" ",@_));
 }
 


home help back first fref pref prev next nref lref last post