Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

PERL on WIN32

Posted on 1998-07-15
7
Medium Priority
?
265 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
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 
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 85

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

Vote for the Most Valuable Expert

It’s time to recognize experts that go above and beyond with helpful solutions and engagement on site. Choose from the top experts in the Hall of Fame or on the right rail of your favorite topic page. Look for the blue “Nominate” button on their profile to vote.

Question has a verified solution.

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

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 …
There are many situations when we need to display the data in sorted order. For example: Student details by name or by rank or by total marks etc. If you are working on data driven based projects then you will use sorting techniques very frequently.…
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…
Six Sigma Control Plans

916 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