http://www.perlmonks.org?node_id=979329

Vote on this poll

Yes, of course it can
[bar] 190/23%
Yes, and I am even getting paid for that
[bar] 47/6%
Because of context
[bar] 29/3%
$_
[bar] 73/9%
undef
[bar] 8/1%
You have a missing semi-colon on the line above
[bar] 95/11%
Line 42
[bar] 21/2%
RTFM
[bar] 31/4%
That's fixed in Perl 6
[bar] 26/3%
No, its Perl or perl
[bar] 12/1%
Did you Search?
[bar] 48/6%
There's a CPAN module for that
[bar] 217/26%
Something else...
[bar] 45/5%
842 total votes
  • Comment on My most common answer to a question about Perl is:
Replies are listed 'Best First'.
Re: My most common answer to a question about Perl is:
by toolic (Bishop) on Jul 01, 2012 at 23:40 UTC
Re: My most common answer to a question about Perl is:
by cavac (Parson) on Jul 02, 2012 at 10:16 UTC

    "I don't care if my Perl code is less 'readable' than you Java code. I got the job done and you... are fired."

    "Perl code doesn't break just because someone used tabs for spaces."

    "It doesn't have to be 'cool' and or 'the latest trend'. It pays my rent and puts food on my table. And it is a pretty save job..."

    Sorry for any bad spelling, broken formatting and missing code examples. I broke my left hand and i'm doing the best i can here...
Re: My most common answer to a question about Perl is:
by hossman (Prior) on Jul 02, 2012 at 06:55 UTC

    TIMTOWTDI

Re: My most common answer to a question about Perl is:
by VinsWorldcom (Prior) on Jul 02, 2012 at 01:41 UTC

    "Yes, of course it can ...", usually followed quickly by, "... (and) There's a CPAN module for that"!

Re: My most common answer to a question about Perl is:
by zentara (Archbishop) on Jul 02, 2012 at 19:09 UTC
      Yes, the most common answer for me is to 'install linux'. ;)

      Sounds like my quote of "I don't do Windows."


      Peter L. Berghold -- Unix Professional
      Peter -at- Berghold -dot- Net; AOL IM redcowdawg Yahoo IM: blue_cowdawg
        It's tough to say that when you are in a job interview nowadays. :-)

        I do Windows.... but do has a few different contexts. :-)


        I'm not really a human, but I play one on earth.
        Old Perl Programmer Haiku ................... flash japh
Re: My most common answer to a question about Perl is:
by BrowserUk (Patriarch) on Jul 02, 2012 at 17:57 UTC

    ... because I can have a working solution in Perl in one tenth the development time, using one tenth the lines of code than in (C/C++/Java/Clean/Pure/...).

    And if it runs too slowly, I have the other 90% of the time to speed up the slow bits.


    With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
    Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
    "Science is about questioning the status quo. Questioning authority".
    In the absence of evidence, opinion is indistinguishable from prejudice.

    The start of some sanity?

Re: My most common answer to a question about Perl is:
by dsheroh (Monsignor) on Jul 02, 2012 at 08:03 UTC
    "If you turn on strict and/or warnings (like I suggested in my answer to your last question), you would get the message ... which makes the cause of your problem immediately obvious."
Re: My most common answer to a question about Perl is:
by Boldra (Deacon) on Jul 02, 2012 at 11:35 UTC
    How about: Ask Perlmonks.


    - Boldra
Re: My most common answer to a question about Perl is:
by ChuckularOne (Prior) on Jul 02, 2012 at 12:17 UTC
    "No, no, no... Here, let me code that for you."
Re: My most common answer to a question about Perl is:
by CountZero (Bishop) on Jul 01, 2012 at 21:38 UTC
    "Yes, we can!"

    CountZero

    A program should be light and agile, its subroutines connected like a string of pearls. The spirit and intent of the program should be retained throughout. There should be neither too little or too much, neither needless loops nor useless variables, neither lack of structure nor overwhelming rigidity." - The Tao of Programming, 4.1 - Geoffrey James

    My blog: Imperial Deltronics
Re: My most common answer to a question about Perl is:
by chexmix (Hermit) on Jul 02, 2012 at 16:39 UTC
    "... because I don't like Java."
Re: My most common answer to a question about Perl is:
by thomas895 (Deacon) on Jul 02, 2012 at 20:43 UTC

    "Did you search" basically combines "RTFM", "There's a CPAN module for that", "Yes of course it can, and "Line 42".
    So, that.

    ~Thomas~
    confess( "I offer no guarantees on my code." );
Re: My most common answer to a question about Perl is:
by ambrus (Abbot) on Jul 05, 2012 at 14:06 UTC

    Add print statements to see the intermediate results and the control flow.

Re: My most common answer to a question about Perl is:
by fisher (Priest) on Jul 04, 2012 at 15:50 UTC
    "No, that's not true."
Re: My most common answer to a question about Perl is:
by raybies (Chaplain) on Jul 05, 2012 at 15:22 UTC
    "Not only has Perl supported that feature for years, but I can also write it in one line of Perl code."
Re: My most common answer to a question about Perl is:
by Don Coyote (Hermit) on Jul 07, 2012 at 09:11 UTC

    I wrote Template::Forum::Thread::Response years ago

    • .^^ No you can't do that even if you wanted to
    • ..^^ you mean they don't want to, even if they could
    • ...^^ I mean they dont know what they want
    • ....^^ how do you know what they want or not to do?
    • .....^^ they didnt say so i knew
    • ^^ thanks i meant something completely different I think ill go and write in ruby
    • ^^ Perl semantics analysis report #18 pgs
    • .^^ code advancing the implementation of the report #5 pgs
    • ..^^ human readable translation of the report
    • ...^^ one liner equivalent of the code
    • ....^^ anonymous troll
    • .....^^ insane attempt to deflect anonymous troll logic
    • ......^^ anonymous troll inhaling NO through loaded shotgun

    perl -we 'Coyote'
Re: My most common answer to a question about Perl is:
by Anonymous Monk on Jul 01, 2012 at 21:32 UTC

    How would I know?

    I think my most common answer is a combination real-answer +  Because of context / Line 42 / RTFM  / Did you Search? / There's a CPAN module for that

Re: My most common answer to a question about Perl is:
by Illuminatus (Curate) on Jul 10, 2012 at 17:34 UTC
    "I think in your case, VB is probably the best option"

    fnord

Re: My most common answer to a question about Perl is:
by klekker (Pilgrim) on Jul 13, 2012 at 06:55 UTC
    I'd rather be interessted in questions you get asked about Perl. ;) My "highlight" from last month is
    "Oh Perl, thats the new Cobol, isn't it?"

    Most of the time when I raise the topic "Perl" I'm asked questions about Perl where Perl is compared to Java or PHP.
    My answers include
    • Yes, OOP is possible (and FP and ...)
    • If your knowlege of Java were similar to your Perl knowlege, you would know nothing about Servlets, Hibernate, JUnit, Log4J, Maven, Spring (whatever).
    • If your knowlege of PHP were similar to your Perl knowlege... ah, never mind.
    Actually, no real questions about programming or code.
    Sad but true... :/
    k
Re: My most common answer to a question about Perl is:
by FloydATC (Deacon) on Jul 18, 2012 at 05:47 UTC
    "Your code will work, but there's a simpler way to do it in Perl".

    -- Time flies when you don't know what you're doing
Re: My most common answer to a question about Perl is:
by mertserger (Curate) on Jul 02, 2012 at 09:35 UTC

    I would have to say that I have an insufficient data set to be able answer this

    I have asked plenty of questions about Perl, including here at the Monastery, but I don't think I have been asked many questions.

Re: My most common answer to a question about Perl is:
by blue_cowdawg (Monsignor) on Jul 10, 2012 at 13:21 UTC

    Forgot a few:

    • Start your code with:
      #!/usr/bin/perl -w use strict;
    • What errors are you seeing?
    • Check your web server's access and error logs
    and there's more but I'll keep it short.


    Peter L. Berghold -- Unix Professional
    Peter -at- Berghold -dot- Net; AOL IM redcowdawg Yahoo IM: blue_cowdawg
Re: My most common answer to a question about Perl is:
by nightgoat (Acolyte) on Jul 12, 2012 at 20:32 UTC
    I try and be brief: "No doy!"
Re: My most common answer to a question about Perl is:
by sandeepbharmoria (Beadle) on Jul 16, 2012 at 08:27 UTC
    Yes Off course it can .... be stored as a sea perl in your mind... valuable to keep and gorgeous to display... :)

View List Of Past Polls