Solved

PERL on WIN32

Posted on 1998-07-15
7
258 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
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Many time we need to work with multiple files all together. If its windows system then we can use some GUI based editor to accomplish our task. But what if you are on putty or have only CLI(Command Line Interface) as an option to  edit your files. I…
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…
In this video I am going to show you how to back up and restore Office 365 mailboxes using CodeTwo Backup for Office 365. Learn more about the tool used in this video here: http://www.codetwo.com/backup-for-office-365/ (http://www.codetwo.com/ba…

911 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now