We don't bite newbies here... much | |
PerlMonks |
Re: launching external process macOSby kcott (Archbishop) |
on May 21, 2018 at 10:57 UTC ( [id://1214966]=note: print w/replies, xml ) | Need Help?? |
I've been using Perl on macOS (and previously, Mac OS X) for quite a few years; however, I don't have it in front of me now so I can't show examples. ++haukex is quite correct. system works as documented (i.e. system LIST) on macOS. Beyond corroborating that, I did want to provide some advice regarding: "I am quite new to using Perl on a macOS" The version of Perl provided by Apple, often referred to as the System Perl, and found in /usr/bin/perl, should generally be avoided outside of specific system use. This Perl is provided for use by macOS, is often some versions behind the current stable one, and may contain its own specific patches. Installing what appears to be a quite innocent CPAN module, may upgrade a dependency, and potentially cause problems with macOS itself. When Apple upgrades macOS, its Perl may also be upgraded (let's say from 5.X to 5.Y): when this happens, everything under 5.X is completely removed, including all CPAN and personal modules you may have installed. I'd strongly recommend you install perlbrew (see App::perlbrew). I've been using this for years, as have many others here, without any problems. If you do have any issues, there's plenty of people here who can help you. — Ken
In Section
Seekers of Perl Wisdom
|
|