Student Of Perl wrote:
>
> Hi there,
Hello,
> i have very strange problem.
> I have a simple script which I run
> on Windows98 (PC) and it
> executed properly. But when I
> sent it to someboday by email
> who uses Unix ; it give error.
>
> The first 3 lines of the script are
> comments in foll
Student of Perl wrote:
>
> Hi there,
>
> i have very strange problem.
> I have a simple script which I run
> on Windows98 (PC) and it
> executed properly. But when I
> sent it to someboday by email
> who uses Unix ; it give error.
>
> The first 3 lines of the script are
> comments in following
In Unix, the person has to do two things
1./ On the very first line of the file, he/she has to insert the location
of his/her
PERL interpreter (the location of the PERL interpreter can be found with
"which PERL").
For example;
redhat1:/home/(38)% which perl
/opt/local/bin/perl
On Wed, 6 Feb 2002, Tanton Gibbs wrote:
> You've run across the typical cross-platform issues that arise between Unix
> and Windows. The problem is that Windows uses \r\n to terminate a line
> while Unix just uses \n. When perl on unix sees \r it doesn't know what to
> do because it only expect
You've run across the typical cross-platform issues that arise between Unix
and Windows. The problem is that Windows uses \r\n to terminate a line
while Unix just uses \n. When perl on unix sees \r it doesn't know what to
do because it only expects \n. Therefore, to correct the problem, you nee