Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

comment on

( #3333=superdoc: print w/replies, xml ) Need Help??
So, you want to distribute your program across multiple platforms but don't care whether it works there or not?

Not quite, I would like it to work everywhere for everyone. But if the user does really unreasonable things and it would take an inordinate amount of effort for me to correct what I consider to be the user's error, well, I leave them with an error message that will hopefully tell them what went wrong. There's also a readme that tells them they shouldn't have done it in the first place. It's not my fault if they didn't read it.

It depends on you whether you want to educate your users about how to properly name their files and directories or whether you want your program to just work with what they throw at it. Precisely, and in some cases, I do choose the first option. As you can see in the other thread, a bunch of monks failed to come up with a solution for the non-ascii problem in a week of brainstorming, so I called it quits. In the time it would take to sort that mess out (if I ever managed to sort it out at all, which is doubtful), I could probably introduce 5 to 10 other meaningful features instead.
As I said, I don't get paid to do this, so I can afford to ignore really egregious fringe cases.

In reply to Re^6: OS X troubleshooting help needed - parse filename & open file by elef
in thread OS X troubleshooting help needed - parse filename & open file by elef

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? | Other CB clients
Other Users?
Others chanting in the Monastery: (5)
As of 2023-03-24 12:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Which type of climate do you prefer to live in?






    Results (61 votes). Check out past polls.

    Notices?