Slash Boxes
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

use Perl Log In

Log In

[ Create a new account ]

jdavidb (1361)

  (email not shown publicly)

J. David Blackstone has a Bachelor of Science in Computer Science and Engineering and nine years of experience at a wireless telecommunications company, where he learned Perl and never looked back. J. David has an advantage in that he works really hard, he has a passion for writing good software, and he knows many of the world's best Perl programmers.

Journal of jdavidb (1361)

Friday October 09, 2009
02:23 PM

SO vote to reopen: protected visibility

[ #39738 ] d

Somebody give me some tips on how to reword this to make it a "real question."

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
More | Login | Reply
Loading... please wait.
  • I'm not much of a Stackoverflow user. However it doesn't strike me as a place designed to handle opinion-based questions. chaos' suggested rewrite:

    what reasons are there to use protected members and/or to avoid them?

    seems a little better, but I think the question still needs to be more detailed. Perhaps something along the lines of:

    I have a class (X) and its child class (X::Y). X has a variable Z for some purpose. It doesn't make sense (for some reason) to make Z an attribute of X::Y but X::Y still