Hmm, some time ago I learned about c#sharp by reading the source to http://sourceforge.net/projects/shellify/ ... very similar to java (probably knew that)

Searching around now I found these interesting links :) weaker ones first
A Perl developer in the world of C#
some (weak) discussion of benchmark game http://www.curmudgeonlysoftware.com/2011/03/22/from-c-sharp-to-perl-performance/
C# & Perl | Dr Dobb's / C# & Perl | Dr Dobb's

The better links are below :) Having looked at the table of contents of
C# Programming - Wikibooks, open books for an open world
C# Essentials - Techotopia
C Sharp Programming Course (aka C# Yellow Book — robmiles.com)

they compare well to the table of contents of Modern Perl by chromatic

In short, looks like they'll teach you the mechanics of the language :)

For example, what does a smart C# programmer use that a smart Perl programmer uses Getopt::Long for?

I don't know but there is a getopt from gnu project for c#sharp says http://stackoverflow.com/questions/172443/getopt-library-for-c-sharp

Likewise, what's the C# alternative to Perl's Text::CSV_XS?

Good question :) http://stackoverflow.com/questions/2081418/parsing-csv-files-in-c-sharp says FileHelpers are a free and easy to use .NET library to import/export data from fixed length or delimited records in files, strings or streams.

More generally, how would I craft the same kinds of command-line filters in C# that I'm so accustomed to whipping up quickly and easily in Perl?

http://en.wikibooks.org/wiki/C_Sharp_Programming/The_.NET_Framework/Console_Programming
http://stackoverflow.com/questions/9608591/regex-c-sharp-console-app
Category:C sharp - Rosetta Code -> http://rosettacode.org/wiki/Rot-13#C.23

So you have reading from STDIN ... checking args ... checking if files exist ... double.TryParse ... Regex regex = new Regex ... MatchCollection matches = regex.Matches(text);

That covers everything no? :)


In reply to Re: Perl Programmer Learning C#, Seeking Helpful Resources, Tips by Anonymous Monk
in thread Perl Programmer Learning C#, Seeking Helpful Resources, Tips by Jim

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.