Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: Re: General tips for Unix to Windows script migration?

by Fastolfe (Vicar)
on Jun 27, 2002 at 19:38 UTC ( #177826=note: print w/ replies, xml ) Need Help??


in reply to Re: General tips for Unix to Windows script migration?
in thread General tips for Unix to Windows script migration?

Define "extra"? DOS/Win32 newlines are different, but when you write something like this:

print "line one\n"; print "line two\n";
You should not get double-spaced output. There shouldn't be any "extra" newlines inserted here.

You may, however, be seeing a trailing newline at the termination of your script. This is added by the Win32 command prompt. Even typing 'rem' will give you an empty line before showing the next prompt.


Comment on Re: Re: General tips for Unix to Windows script migration?
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://177826]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (14)
As of 2014-10-24 16:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (133 votes), past polls