summaryrefslogtreecommitdiff
path: root/Xerl/Tools/FileIO.pm
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2011-04-26 19:13:48 +0000
committerPaul Buetow <paul@buetow.org>2011-04-26 19:13:48 +0000
commitd87c0e16f9b880ce38e1ff6a39f22ba49263aef0 (patch)
treee9fa42aa49bcf532ca75fc17928aaff850815e1c /Xerl/Tools/FileIO.pm
parent4aae3132de0ff117290cdc5a8cebeb5bf467942f (diff)
code cleanup using perltidy
Diffstat (limited to 'Xerl/Tools/FileIO.pm')
-rw-r--r--Xerl/Tools/FileIO.pm6
1 files changed, 3 insertions, 3 deletions
diff --git a/Xerl/Tools/FileIO.pm b/Xerl/Tools/FileIO.pm
index 25da55e..71e480c 100644
--- a/Xerl/Tools/FileIO.pm
+++ b/Xerl/Tools/FileIO.pm
@@ -60,9 +60,9 @@ sub fslurp($) {
my Xerl::Tools::FileIO $self = $_[0];
my $path = SECUREPATH( $self->get_path() );
- unless (-f $path) {
- Xerl::Main::Global::HTTP( 404, "Not found: $path" );
- return -1;
+ unless ( -f $path ) {
+ Xerl::Main::Global::HTTP( 404, "Not found: $path" );
+ return -1;
}
open my $file, $path or Xerl::Main::Global::ERROR( $!, $path, caller() );