For Programmers: Free Programming Magazines  


Home > Archive > PERL Miscellaneous > November 2007 > Re: how to write non-compatible perl scripts to run on differnet operating systems?









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: how to write non-compatible perl scripts to run on differnet operating systems?
Peter Makholm

2007-11-27, 8:05 am

Torben <torben_surmer@msn.com> writes:

> is it possible to make some kind of pragmas in perl scripts, so for
> example I can run a perl script like this:


You can use $^O or $Conifg{osname} with Config.pm.

//Makholm
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com