Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: Making it clearer to say that a sub is defined within current package

by RonW (Parson)
on Apr 11, 2019 at 23:48 UTC ( #1232470=note: print w/replies, xml ) Need Help??


in reply to Making it clearer to say that a sub is defined within current package

Over in the Land of C, where there are no package or module specific namespaces, most of the project teams I have worked with use a 2-5 character prefix to designate which module "owns" each globally accessible symbol. These prefixes are abbreviations of the names of the modules they refer to.

Also, most of my teammates use an IDE like, for example, Eclipse, that provide source code navigation aids. I use Eclipse with the EPIC plug-in for Perl. EPIC provides the "Perl smarts" so that Eclipse's navigation aids work with Perl.

Anyway, with those navigation aids, like the "outline sidebar", "open declaration" and others, finding where a given function is defined is easy.

  • Comment on Re: Making it clearer to say that a sub is defined within current package

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1232470]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (5)
As of 2021-01-27 16:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?