Perl programming on my Mac OS

I understand Perl is part of my Mac OS, but I hear I would be best served to ensure any programming (learning) in Perl should be isolated so as not to upset the functioning of my El Capitan system.

What kind of installation shall I make to ensure the Perl I access from Mac Terminal does not touch any system files?

Thanks.
newbiewebSr. Software EngineerAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

wilcoxonCommented:
I don't understand.  As long as you don't write code that modifies system files then Perl won't modify any system files.

It should not be necessary to do any sort of special install on Mac OS for Perl.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
newbiewebSr. Software EngineerAuthor Commented:
So, if I create a new folder and write new Perl scripts, run them and test them, there should be no problem. It seems crazy to think that COULD cause a problem.

One video I watched was pushing a unique download, perhaps of their newer/better version of Perl.

Not sure...

Thanks.
0
wilcoxonCommented:
As long as you don't do something like open(OUT, ">/etc/fstab") or something else that will directly change system files, it will be fine.  The only thing I can think of that they might have been talking about was installing modules from CPAN into standard Perl lib dirs (which might be described as system files) but that shouldn't cause issues either - the only possible issue I can think of is if there is an old deprecated version installed and you install a new incompatible version of a module but I would hope the module would warn you about that or use a different name so it doesn't clobber the existing one (even if it does, there are ways to get the original version back).
0
Determine the Perfect Price for Your IT Services

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden with our free interactive tool and use it to determine the right price for your IT services. Download your free eBook now!

newbiewebSr. Software EngineerAuthor Commented:
Is there a firewall against any such stupid/beginner mistakes? If I shut down my Mac, I am dead.
0
Dave BaldwinFixer of ProblemsCommented:
If you only have one computer, you are almost guaranteed that it and you will die before your time.  You need a second computer at Least.  You may think that it is expensive.  Not as expensive as being suddenly out of business.
0
wilcoxonCommented:
The simplest solution is to learn and write Perl as a normal user without sysadmin/root priveleges.  Then you should not be able to change system files even if you try.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Programming

From novice to tech pro — start learning today.