use Exporter;
-our $VERSION = '1.0.24';
+our $VERSION = '1.0.25';
our @ISA = qw(Exporter);
our @EXPORT = ();
our @EXPORT_OK = (
# path stuff
# join_path() builds a path (or url) from individual segments
-# that there will be 1 path separator brtween (and not 2 or 0).
+# that there will be 1 path separator between (and not 2 or 0).
sub join_path {
(my $joiner, my @segments) = @_;
+ if ($joiner eq '') {
+ $joiner = '/';
+ }
my $path = '';
foreach my $segment (@segments) {