in reply to Re: Very quick question about names in perl
in thread Very quick question about names in perl

Thanks, but this raises more questions. What I plan on using this with, is to call functions that are part of an object, that will be read via $AUTOLOAD--would I be able to do something silly like $client->12('blah'), or would that be doing evil things?

  • Comment on Re: Re: Very quick question about names in perl

Replies are listed 'Best First'.
Re: Re: Re: Very quick question about names in perl
by tbone1 (Monsignor) on Dec 15, 2003 at 13:39 UTC

    This is getting dangerously close to a philosphical discussion, but if you keep things simple, you'll have fewer things to worry about, and are therefore less likely to make mistakes. Speaking personally, I would limit myself to variables starting with letters and containing only letters, underscores and numbers. It makes the code easier to read (in theory), and you will spend less time later being confused. Assuming, of course, you are as easily confused as I am.

    --
    tbone1
    Ain't enough 'O's in 'stoopid' to describe that guy.
    - Dave "the King" Wilson

      You're probably correct, I need to rethink my design

Re: Very quick question about names in perl
by Abigail-II (Bishop) on Dec 15, 2003 at 13:16 UTC
    $client -> "12" ('blah');
    ought to work, but I don't have time right now to check.

    Abigail