Solved

PERL on WIN32

Posted on 1998-07-15
7
261 Views
Last Modified: 2010-03-05
I have been using PERL on UNIX system for the past 1 week.
Would like to know, how much is PERL different on Windows systems, if any.
Are there major deviations in running perl scripts over WINDOWS.

Or after working on UNIX there shouldn't be any problems working on WINDOWS env. ???
0
Comment
Question by:sanjaychopra
7 Comments
 
LVL 51

Expert Comment

by:ahoffmann
ID: 1208433
you just pointed to one of perl's advantages ;-)

Dipite some differences in writing pathnames or calling system routines, perl behaves equal on UNIX and Windoze (perl -e  doesn't work on Win for me)-:
0
 
LVL 5

Expert Comment

by:b2pi
ID: 1208434
Ummm, that's not entirely true.  Two big differences (both are easily surmountable) are the fact that shebang doesn't work (i.e. #!path-of-perl-executable options) which is only a real problem if you want to have multiple versions of perl, for some reason (i.e. development and production).  Secondly is file-glob'ing must be handled by an external program rather than by the shell as in Unix.

There are a couple of less significant issues; for a list, try downloading perl, building it, and then running make test.
0
 
LVL 51

Expert Comment

by:ahoffmann
ID: 1208435
Hey b2pi, #!path-of-perl-executable has nothing to do with perl, it is feature of UNIX shells.
0
Active Directory Webinar

We all know we need to protect and secure our privileges, but where to start? Join Experts Exchange and ManageEngine on Tuesday, April 11, 2017 10:00 AM PDT to learn how to track and secure privileged users in Active Directory.

 
LVL 5

Expert Comment

by:b2pi
ID: 1208436
The same thing holds for globbing, _EXCEPT_ under win32.  Nevertheless, those are two features people expect to find, and don't (directly) under win32.
0
 
LVL 84

Expert Comment

by:ozo
ID: 1208437
0
 

Accepted Solution

by:
theGrayPilgrim earned 0 total points
ID: 1208438
I was a unix programmer for 3 years,
I recently moved to Windows NT, and I can tell you that regarding Perl5, the move was extremely easy (Almost no difference).

Enjoy...
0
 

Author Comment

by:sanjaychopra
ID: 1208439
Thanks a lot for the whole hearted response
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

On Microsoft Windows, if  when you click or type the name of a .pl file, you get an error "is not recognized as an internal or external command, operable program or batch file", then this means you do not have the .pl file extension associated with …
A year or so back I was asked to have a play with MongoDB; within half an hour I had downloaded (http://www.mongodb.org/downloads),  installed and started the daemon, and had a console window open. After an hour or two of playing at the command …
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…

820 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question