A widely used cross platform scripting language that is installed in OSX.

learn more… | top users | synonyms

1
vote
1answer
21 views

To exclude bak files in Finder's search?

I create bak files after every Perl operation. How can you exclude all bak files in your Finder's search?
2
votes
1answer
84 views

Problem installing Devel::REPL using cpanm

I tried following the instructions for installing CPAN modules at this link: http://www.cpan.org/modules/INSTALL.html However, when I try to install Devel::REPL, it fails. Here is the log: ...
1
vote
1answer
52 views

What is wrong in this Perl regex in OSX?

The code works in Ubuntu, but not in OSX. I run perl -000pe 's/\n/\n\\begin{enumerate}\n/; s/\n\d./\n\\item /g; s/$/\\end{enumerate}\n/' lorem.tex I get -bash: $: command not found ...
4
votes
1answer
91 views

Find and replace with grep and perl

I'd like to grep and replace specific text in textfiles within a directory and all subdirs. I try the following: ls -R | egrep '.*\.txt' | perl -i -p -e 's/one.a/two.a/g' Although grep spits out a ...
1
vote
1answer
36 views

Invoke Perl script in Windows from OS X

I have a Perl script written in Windows and an AppleScript written in OS X. I want the AppleScript to invoke the Perl script that is residing in Windows. How can I do this?
2
votes
2answers
1k views

automator to run AppleScript for a shell script

For a selected file in Finder, I like to run a perl script using Services. I created an Automator process that runs an AppleScript: on run {input, parameters} tell application "Terminal" ...
1
vote
1answer
246 views

Does Apache require special settings to run a command?

I am trying to create an image using Bio::Perl/Bio::Graphics and implement it on my webserver. However, whenever I am trying to run my scripts online, the command line does not respond to run my ...
0
votes
1answer
400 views

How to install modules from CPAN without sudo?

Is there a way to install modules from CPAN without resorting to sudo? (And without perlbrew, please.)
2
votes
1answer
84 views

How to implement this script on a Mac

I just read Matt Might's blog post on eliminating filler and "weasels" from my writing, and I am wondering how I would implement this on Latex to run and check my document? I know I should use ...
1
vote
2answers
394 views

MacOSX 10.8 and 32-bit perl modules

I just upgraded from MacOSX 10.6 to 10.8. Many of my projects depend on Mac::Glue, Mac::Carbon and their ilk. Even though Mac::Glue comes bundled with MacOSX 10.8 perl, it doesn't seem to work: ...
0
votes
2answers
390 views

Using gwhois on OSX

How does one install gwhois on a Mac? I'm already up and running with Homebrew; I assume that there's some magic perl configuration required before it will run. I've tried the following: brew ...
4
votes
2answers
2k views

How to install CPAN modules from the command line on OS X?

Simple question: How to install CPAN modules on OS-X like normal Linux/Unix way? I just want to type in cpan something like install Perl6::Say for example.
6
votes
2answers
7k views

How to reinstall Mac OS X built in Perl on Mountain Lion?

I updated to Mountain Lion 4 days ago and then realised that my perl scripts did not work any longer. So I installed ActivePerl 5.14 (newest version) because I thought that perl has been deleted. ...
1
vote
0answers
82 views

Check which files have changed in Mac::FSEvents in Perl?

Is it possible to see which files have been changed whenever a change event is called using Mac-FSEvents-0.08?
1
vote
2answers
4k views

Getting Perl DBD::mysql working on OS X 10.7?

I can't seem to get Perl & MySQL to talk to each other on OS X 10.7 Lion. I did all the installs by the book, I used Oracle's PKG installer for the latest MySQL Community Server, and I installed ...
2
votes
1answer
1k views

What is Lion's version of Perl 5?

What version of Perl 5 is OS X Lion shipping with?