App-spaceless

 view release on metacpan or  search on metacpan

README  view on Meta::CPAN


EXAMPLES

 Removing spaces from the PATH on Cygwin

    My motivation for writing this script was trying to get perlbrew to
    work on Cygwin. Since Windows frequently includes spaces in its %PATH%
    environment variable, and cygwin inherits them.

     xian-x86_64% source ~/perl5/perlbrew/etc/cshrc
     setenv: Too many arguments.
     xian-x86_64% eval `spaceless PATH`
     xian-x86_64% source ~/perl5/perlbrew/etc/cshrc
     xian-x86_64%

    I could have manually updated my %PATH% to not include spaces, or
    better yet submitted a patch to perlbrew to fix its spacing problem.
    This probably won't be the last script that I will have the spaces in
    the %PATH% problem with.

 Visualizing the PATH

bin/spaceless  view on Meta::CPAN


=head1 EXAMPLES

=head2 Removing spaces from the PATH on Cygwin

My motivation for writing this script was trying to get L<perlbrew> to work on Cygwin.
Since Windows frequently includes spaces in its C<%PATH%> environment variable, and
cygwin inherits them.

 xian-x86_64% source ~/perl5/perlbrew/etc/cshrc
 setenv: Too many arguments.
 xian-x86_64% eval `spaceless PATH`
 xian-x86_64% source ~/perl5/perlbrew/etc/cshrc
 xian-x86_64%

I could have manually updated my C<%PATH%> to not include spaces, or better yet submitted
a patch to L<perlbrew> to fix its spacing problem.  This probably won't be the last script
that I will have the spaces in the C<%PATH%> problem with.

=head2 Visualizing the PATH



( run in 0.375 second using v1.01-cache-2.11-cpan-3989ada0592 )