in reply to Formatting variables

you might want to have a look into Damian's "Perl Best Practices", he's elaborating a naming convention there.

Personally I' diverging from his _ref appendices for references and prefer prefixes like $a_list = \@list for arrays and so on ( $h_ , $c_ ... )


Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery

Replies are listed 'Best First'.
Re^2: Formatting variables
by LanX (Cardinal) on Nov 29, 2020 at 12:06 UTC
Re^2: Formatting variables
by dorko (Prior) on Nov 30, 2020 at 03:40 UTC
    I'll do:

    _href for a Hash Reference
    _aref for an Array Reference



    -- Yeah, I'm a Delt.