Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

comment on

( #3333=superdoc: print w/replies, xml ) Need Help??

I am seeing a very odd behavior with ActivePerl 5.8.8 build 822, however I don't think it's specific to this build as I've seen similar problems in the past. It is however a Windows thing.

The problem I'm having is for no readily apparent reason, a subroutine call is being skipped over. In this instance it is File::Copy::Recursive::pathempty, but I've also seen this happen in other modules. It is only happening on one of a dozen identical systems.

I first noticed a problem when one of our in-house tools was throwing a lot of errors while using File::Copy::Recursive. I wrote a 2 line script to call pathrm on an explicitly specified path. I stepped into pathrm in the debugger, and when it called pathempty I tried to step into that, but it just skipped over the line. I put a print statement in pathempty and ran my script from the command line and it never printed.

I tried reinstalling perl, with no change. Can anyone offer a pointer of what else to look at, or an explanation of why this happens ?

Thanks!


In reply to Perl under windows: mysteriously skipping over subroutine by UnstoppableDrew

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 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? | Other CB clients
Other Users?
Others examining the Monastery: (6)
As of 2022-07-02 21:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My most frequent journeys are powered by:









    Results (103 votes). Check out past polls.

    Notices?