467,169 Members | 1,043 Online
Bytes | Developer Community
Ask Question

Home New Posts Topics Members FAQ

Post your question to a community of 467,169 developers. It's quick & easy.

PERL conversion from Solaris to Mac OS

I am interested in porting Perl programs I wrote years ago from Solaris based servers to run on a Apple Mac platform (latest OS). I have yet to purchase a the needed Mac hardware. I wanted to first get feed back on how easy it is to port the Perl code between these platforms. I have been out of the programming business for many years, so I do not want to have to do major rewrites. If it is basically making hardware specific changes I will go ahead and get a Mac server, else I will get an updated Sun workstation.

Has anyone dealt with this migration path that can let me know of their experiences and what I can expect?

Thanks

Terry

BTW

Is there a place to obtain PERL source, so I can get an idea of how network related calls are handled? I will contribute code to the library future.

Can PERL code be compiled like it can on the Solaris platform?
Aug 23 '07 #1
  • viewed: 1063
Share:
3 Replies
numberwhun
Expert Mod 2GB
Ok, one question at a time. Since MacOS is Unix based (starting with OSX), I would think that the porting would be a lot easier than you would think (hopefully pretty painless). I am not going to say any definites as there may be someone here who has used Perl on the mac that may know of any caveats to watch out for.

Perl is open source so I am sure you can find the source. You can also check out the wonderful modules over atCPAN.

Regards,

Jeff
Aug 23 '07 #2
miller
Expert 1GB
The biggest thing that I know if is making sure that all file operations use File::Spec, instead of using hardcoded file operations.

After that, there are definitely minor differences, but most can be handled easily enough.

- M
Aug 23 '07 #3
Thank you for the replies.

I think I may start off with a MacBook Pro (as I need a new laptop anyway). I am enticed by the PC tablets, and if there was a Macbook Tablet I would have jumped at that option. I can then test the code conversions on the MacBook Pro before deciding on the big purchase of a Mac Server or a Sun Microsystems server.

I have PERL programs with thousands of lines code each. So I need to be sure I make the right OS choice.

Thanks again for the input, I feel more confident now that I should try the Mac.

Terry
Aug 24 '07 #4

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

reply views Thread by Matt Johnson | last post: by
3 posts views Thread by Chris Pruett | last post: by
1 post views Thread by Christian Eriksson | last post: by
reply views Thread by Jean-Marie Gouarné | last post: by
10 posts views Thread by Hendry Taylor | last post: by
reply views Thread by Kirt Loki Dankmyer | last post: by
13 posts views Thread by Otto J. Makela | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.