marek1703 has asked for the wisdom of the Perl Monks concerning the following question:
Hello Monks!
I have a serious issue with my Module Text::Autoformat
I tried to reinstall it on my MacOS (10.10.5) original Perl 5.18.2 installation.
In Shell I issued the following command - as suggested in the man -
perl -MText::Autoformat -e'autoformat'
pasting one of the examples of the man:
1. Analyze problem
3. Design algorithm
1. Code solution
5. Test
4. Ship
then ctrl D with the result: the shell is spitting out just the same, what I pasted in.
Right procedure like that?
Than I tried the following script:
#!/usr/bin/perl use strict; use warnings; use Text::Autoformat; $/ = ''; my $formatted = <DATA>; autoformat $formatted; print $formatted; __DATA__ 1. Analyze problem 3. Design algorithm 1. Code solution 5. Test 4. Ship
Right the script? Here too the result: the same what I put in was printed out, without any change.
After this deception, I decided to install perlbrew and the newest Perl-Version. But here too, I have a big issue, which I am not able to solve myself: the installation finishes with a link error:
/Applications/Xcode.app/Contents/Developer/usr/bin/make all PERL_CORE= +1 LIBPERL_A=libperl.a LINKTYPE=dynamic<br> rm -f ../../lib/auto/B/B.bundle<br> env MACOSX_DEPLOYMENT_TARGET=10.3 cc -bundle -undefined dynamic_looku +p -L/usr/local/lib -fstack-protector B.o -o ../../lib/auto/B/B.bundl +e<br> ...<br> ld: library not found for -lgcc_s.10.4<br> clang: error: linker command failed with exit code 1 (use -v to see in +vocation)
Any help? I would be very gratefull!
marek
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Module Text::Autoformat not working
by hippo (Archbishop) on Oct 26, 2015 at 11:11 UTC | |
by parv (Parson) on Oct 26, 2015 at 11:28 UTC | |
by parv (Parson) on Oct 26, 2015 at 13:42 UTC | |
by hippo (Archbishop) on Oct 26, 2015 at 11:42 UTC | |
|
Re: perlbrew not installing
by hippo (Archbishop) on Oct 26, 2015 at 11:15 UTC | |
by marek1703 (Acolyte) on Oct 26, 2015 at 14:28 UTC | |
by Corion (Patriarch) on Oct 26, 2015 at 14:33 UTC | |
|
Re: Module Text::Autoformat not working; perlbrew not installing
by marto (Cardinal) on Oct 26, 2015 at 14:37 UTC | |
by marek1703 (Acolyte) on Oct 27, 2015 at 05:17 UTC |