Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??
As one who sometimes posts crazy questions that don't make sense...sometimes we are looking for best practices or the theory behind the question, but we don't *know* it.

If you are not used to event based programming, formulating a question can be confusing.

If you are a windows programmer, fork and pipe are confusing. Sometimes we want the background details: Lookup the fork() function. It will make 2 copies of your script that share all variables/handles then each half does its work...fork is not supported on all platforms, it is in alpha on Win32, and even then, isn't fully compatible

If you are a windows person, understaning how to interact with the shell can be very complex. Not to mention that most Perl stuff is Unix/Linux oriented...so it is nice to have the "watch fors"

It might be nice to have an "experience level" combo box next to the question...that gives the awesome Monks some idea of how to formulate a response, which we are VERY grateful ! (also a platform combo would be cool)

Here is a good example of something I recently struggled with, that isn't Perl, but I want to do it with Perl ;-)

I want to execute a command-line send mail program from my program. Now I am on Win32 but want Linux compatability. Even with the W32 qualification, most people assume I know mail or mailx. I am concerned about how long the message body can be? Is that an issue on Unix? Would be on Win32...What about a pipe? Why not use Net::SMTP? Well if you have a Tk app, it will block...is that an issue? Call fork() Ok for UNIX? Probably too much overhead for Win32... I think that many of us feel that these issues have been dealt with so many times, there are good rules of thumb to follow...maybe we are wrong ;-)

While it looks like I am asking how to call an external program, I might not be able to express my concerns as I don't know the tradeoffs...

I don't know how to make it easier, but many of us are learning what you might consider the basics along with our new found interest in Perl !!!


In reply to Re: Where is the boundary between 'in bounds' and 'out of bounds'? by smackdab
in thread Where is the boundary between 'in bounds' and 'out of bounds'? by dws

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 having an uproarious good time at the Monastery: (6)
As of 2024-03-28 12:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found