Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.
  • If you name your variables sensibly it should be clear what they are, the sigils help with the context.

    Something I do habitually is to UpperCase objects and compound the name of a variable with what its used for e.g. copy_of_Foo or Foo_remote

    Never had a problem, so much so in fact that I find myself needing comments less and less (except when looking at perl golf or scary math).

    --

    @JAPH = qw(Hacker Perl Another Just);
    print reverse @JAPH;