Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??
I have never seen anybody even come close to isolating what causes some installs to exhibit this problem while other installs do not.

Now you have! :)

But only as a result of your prompting my memory with your post:

C:\test>set PATHEXT=.COM;.EXE;.BAT;.CMD; C:\test>junk.pl junk.pl 'print "'$_'" while <>; ' C:\test>junk junk.pl C:\test>set PATHEXT=.pl;.COM;.EXE;.BAT;.CMD; C:\test>junk junk.pl 'print "'$_'" while <>; '

Personally, I dislike pl2bat with a vengeance. I've tried it several time over the years and always abandoned it almost immediately for one reason or another. I haven't tried to use it now for several years and can't remember all of the reasons.

But the Terminate batch job (Y/N)? prompting is only one.

Another is it screws up syntax highlighting. I could associate .bat with the .pl profile, but then that screws up highlighting in .bats. Another is forgetting that I pl2bat'd some script and the spending a few minutes--or on one particularly memorable occasion a few days--tearing my hair out before working out why none of the changes I was making to the .pl file were affecting the output from the script :)

Dumb! But I've done it several times. There are others. Perl::Tidy etc. Yes. It is just a matter of discipline. And only pl2batting once you've finished developing which is reasonably easy to do. But it's when you come back to something a few months or years later that it goes tits up.

Once you have PATHEXT/ASSOC/FTYPE set up correctly, everything "Just works". And setting it up is a one-time deal. I also like the multiple side-by-side perl installs that it affords through the simple mechanism of using different extensions .pl for 5.latest, .pl8 for 5.8 etc.


Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.

In reply to Re^2: Out of date over <> and 5.10 (redir) by BrowserUk
in thread Out of date over <> and 5.10 by hsmyers

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":



  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or How to display code and escape characters are good places to start.
Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others cooling their heels in the Monastery: (3)
As of 2024-04-19 20:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found