Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??

I would try to cover the following topics as they seem to be appropriate to your cow-orkers, together with the problems. I would try to structure the path to these problems by asking the cow-orkers the "right" questions leading them to the problem domain ("What task do you do when loading the new customer data" could lead to DBI or to SQL::Statement or to Template::Toolkit, depending on whether you (want to) load your data through DBI or the datbase loader tool for example).

Topics to know would be:

  • Munging data:
    s///, m//, Text::CSV, SpreadSheet::ParseExcel, SpreadSheet::WriteExcel and possibly automating Microsoft Office if your platform has OLE)the "Unix shell to Perl traveler's handbook", UNIX 'command' equivalents in Perl
  • Launching subprocesses (or, "how to use Perl as if it were a shell script")
    perlipc, backticks, sed, awk. A good example might be how to transparently read from a possibly compressed file, by reading from open my $fh, "gzcat $file |"; or somesuch.
  • Something for the build process could be a reprise of perlipc, possibly together with Expect for automating some user inputs or Net::Telnet or Net::SSH for kicking off processes remotely, or even parallelizing stuff via Parallel::ForkManager. Or maybe transferring files via Net::FTP.
  • Things where Perl "shines" over "The Shell" are file/terminal IO, arrays and dictionaries, while Perl is not necessarily as convenient for oneliners and process control as some shells. I'm sure your shell-loving cow-orkers will find plenty of things where Perl is uglier than shell :)

In reply to Re: Plenty of Practical Perl Problems? by Corion
in thread Plenty of Practical Perl Problems? by loris

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 imbibing at the Monastery: (8)
As of 2024-04-23 19:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found