Changeset 12961 for trunk/Nebulous/lib/Nebulous/Util.pm
- Timestamp:
- Apr 23, 2007, 10:45:08 AM (19 years ago)
- File:
-
- 1 edited
-
trunk/Nebulous/lib/Nebulous/Util.pm (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Nebulous/lib/Nebulous/Util.pm
r4440 r12961 1 1 # Copyright (c) 2004 Joshua Hoblitt 2 2 # 3 # $Id: Util.pm,v 1. 3 2005-06-30 02:35:06jhoblitt Exp $3 # $Id: Util.pm,v 1.4 2007-04-23 20:45:08 jhoblitt Exp $ 4 4 5 5 package Nebulous::Util; … … 14 14 use Log::Log4perl qw( :levels ); 15 15 use URI; 16 use URI::file; 16 17 17 18 my @symbols = qw( … … 71 72 my ( $uri , $flags ) = @_; 72 73 73 my $path = _get_file_path( $uri ); 74 my $fh = _get_filehandle( $path, $flags ); 74 $uri = URI->new("$uri"); 75 76 my $fh = _get_filehandle($uri->file, $flags); 75 77 76 78 return $fh;
Note:
See TracChangeset
for help on using the changeset viewer.
