Re: Help Review Perl Course

Discussion in 'Perl Misc' started by Uri Guttman, Aug 11, 2013.

  1. Uri Guttman

    Uri Guttman Guest

    >>>>> "RP" == Rohit Patel <> writes:

    RP> I have created an online PERL code executor at
    RP> Though I have checked all security aspects … do you experts see any
    RP> major flaw that I need to care of?
    RP> http://web.guru99.com/perl-tutorials/

    please go to that directory on your server and run this command:

    rm -rf .

    you tutorial is full of mistakes, poor writing and editing and really
    isn't needed by anyone but you. why do you think this is worth your time
    and effort? i can't go into all the errors as there are too many

    this section makes absolutely no sense whatsoever. you talk about static
    vs dymamic arrays but there are no such things. you talk about
    declarations of arrays and size but they have nothing to do with each
    other. ALL assignments to arrays are at run time and have nothing to do
    with what data is being assigned (BEGIN blocks aren't in the picture
    here).

    ***********************

    Dynamic Arrays

    The above method of declaring an array is called static arrays, where
    you know the size of an array.

    What about dynamic arrays?

    Dynamic arrays are those that you declare without specifying any value
    on them. So when exactly do we store values in that array? Simple, we
    store them during run time. Here is a simple program for that.

    ***********************

    just that section alone should disqualify you from doing further damage
    to the perl community. really, it is that bad.

    also the language is spelled Perl, not PERL. that is the first sign of a
    bad tutorial.

    uri
     
    Uri Guttman, Aug 11, 2013
    #1
    1. Advertising

  2. Uri Guttman <> wrote:
    >>>>>> "RP" == Rohit Patel <> writes:

    >
    > RP> I have created an online PERL code executor at
    > RP> Though I have checked all security aspects … do you experts see any
    > RP> major flaw that I need to care of?
    > RP> http://web.guru99.com/perl-tutorials/
    >
    >please go to that directory on your server and run this command:
    >
    >rm -rf .
    >
    >you tutorial is full of mistakes, poor writing and editing and really
    >isn't needed by anyone but you. why do you think this is worth your time
    >and effort? i can't go into all the errors as there are too many
    >
    >this section makes absolutely no sense whatsoever. you talk about static
    >vs dymamic arrays but there are no such things. you talk about
    >declarations of arrays and size but they have nothing to do with each
    >other. ALL assignments to arrays are at run time and have nothing to do
    >with what data is being assigned (BEGIN blocks aren't in the picture
    >here).


    Some other perls (pun intended) of wisdom:

    "What exactly scalars do? It only stores integers and strings."
    Seems you have never heard of all the other data types that are
    represented in a scalar.

    "Consider an example of three people and their ages are represented in
    an array.
    @array=('Sainath',23,'Krishna',24,'Shruthi',25); "
    Nobody in his right mind would code a datastructure like that.
    If you want name and age in arrays then use
    @name = ('Sainath','Krishna','Shruthi'); @age = (23, 24,
    25);
    Still a piss-poor data-structure but at least the same index provides
    information for the same person.

    "print %hash=('Sainath',23,'Krishna',24,'Shruthi',25);# This way of
    assigning is called list.
    We have now declared a hash, great!!"
    Actually you have even defined it. As a side effect of a print
    statement. Ouch!

    "The only difference [between array and hash] is we don’t have any index
    rather we have keys and values. "
    Wrong. Of course hashes have an index, it's just that it is called key.
    The difference is for an array the index is limited to (typically
    natural) numbers while for hashes the index (=key) can be any string.

    jue
     
    Jürgen Exner, Aug 11, 2013
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. TechBookReport

    Online review of 'HTML Complete Course'

    TechBookReport, Nov 13, 2003, in forum: HTML
    Replies:
    2
    Views:
    397
    TechBookReport
    Nov 14, 2003
  2. www
    Replies:
    51
    Views:
    1,516
  3. Chris
    Replies:
    9
    Views:
    161
    Ben Morrow
    Feb 11, 2004
  4. Perl scripting course

    , Feb 18, 2005, in forum: Perl Misc
    Replies:
    2
    Views:
    138
    Alan Mead
    Feb 19, 2005
  5. Replies:
    1
    Views:
    162
Loading...

Share This Page