Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??
Such is the beast that for multi-platform programs, you end up creating the app as a lowest common denominator, with plenty of overhead code to prevent it falling over on variants of the operating systems. There are many variants of Unix, Linux, and Windows, and some variants file systems work differently, causing problems. I join the chorus in highly recommending a File::Spec or similar cross-platform filehandling solution, so you don't end up with workarounds for OS variants throughout your code. Then as long as you use the module properly, your app will run on many OS variants, current or future.
Mind you in OSX you could instead create an ActionScript action instead, or your app could be made into a service, which could make things nicer, but unfortunatelly not portable to other OSes.
Maybe (or maybe not) you'd be better off having a gui/web interface instead of drag'n'drop to console. Using a console in the first place assumes a certain level of user knowledge, and you might just be better off to get them to specify path instead of introducing the drag'n'drop to console thing into it.
if you want your project to succeed, you will need to think about your application audience closely, to avoid disappointment. whether you're a programmer/software-engineer or not.
all the best in your project. you might possibly be interested in a freshmeat project called "Sally", so i mention it.
the hardest line to type correctly is: stty erase ^H

In reply to Re: OS X troubleshooting help needed - parse filename & open file by aquarium
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?Last hourOther CB clients
Other Users?
Others studying the Monastery: (8)
As of 2024-04-16 16:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found