summaryrefslogtreecommitdiff
path: root/fml/lib/FML/Command/Admin/dir.pm
diff options
context:
space:
mode:
authorfukachan <fukachan>2003-01-03 07:05:04 +0000
committerfukachan <fukachan>2003-01-03 07:05:04 +0000
commit36621eb98b3d05a6271ae5c339f6df3723fcb3b6 (patch)
tree0bdb7b4ac02a094cf9d29b2ea90c31d8a1f72d06 /fml/lib/FML/Command/Admin/dir.pm
parent55dc071d41fbc98b4e851b374f69983c24503ac9 (diff)
downloadfml8-36621eb98b3d05a6271ae5c339f6df3723fcb3b6.tar.gz
fml8-36621eb98b3d05a6271ae5c339f6df3723fcb3b6.tar.bz2
fml8-36621eb98b3d05a6271ae5c339f6df3723fcb3b6.zip
modified to use FML::Restriction::Base->regexp().
modify messages.
Diffstat (limited to 'fml/lib/FML/Command/Admin/dir.pm')
-rw-r--r--fml/lib/FML/Command/Admin/dir.pm9
1 files changed, 4 insertions, 5 deletions
diff --git a/fml/lib/FML/Command/Admin/dir.pm b/fml/lib/FML/Command/Admin/dir.pm
index 3c1b229a..6b533ea1 100644
--- a/fml/lib/FML/Command/Admin/dir.pm
+++ b/fml/lib/FML/Command/Admin/dir.pm
@@ -1,10 +1,10 @@
#-*- perl -*-
#
-# Copyright (C) 2002 Ken'ichi Fukamachi
+# Copyright (C) 2002,2003 Ken'ichi Fukamachi
# All rights reserved. This program is free software; you can
# redistribute it and/or modify it under the same terms as Perl itself.
#
-# $FML: dir.pm,v 1.7 2002/11/23 15:20:00 fukachan Exp $
+# $FML: dir.pm,v 1.8 2002/12/15 14:13:16 fukachan Exp $
#
package FML::Command::Admin::dir;
@@ -67,8 +67,7 @@ sub process
use FML::Restriction::Base;
my $safe = new FML::Restriction::Base;
- my $regexp = $safe->basic_variable();
- my $dirreg = $regexp->{ directory };
+ my $dirreg = $safe->regexp( 'directory' );
# analyze ...
# XXX-TODO: "admin ls -i -a tmp" ignores "tmp" but not inform the error.
@@ -113,7 +112,7 @@ Ken'ichi Fukamachi
=head1 COPYRIGHT
-Copyright (C) 2002 Ken'ichi Fukamachi
+Copyright (C) 2002,2003 Ken'ichi Fukamachi
All rights reserved. This program is free software; you can
redistribute it and/or modify it under the same terms as Perl itself.