Just Another Polyglot Hacker! Make a program which prints just another #{LANG} hacker where #{LANG} is the name of the language with which the program is being run.

For example, if I run your program with Bash, I'd expect just another Bash hacker as the output, but when running the same program through C++, I'd expect the output to be just another C++ hacker.

Your program must run in and produce correct output in at least two different languages.



This is in no way a duplicate of the other suggested question, Write a polyglot that prints the language&#39;s name; that question asks for a rather short (and in my opinion) uninteresting output, increasing the easiness of writing and number of languages in an answer, and then it assesses them (these polyglots) based on the source's length!

A correct response to this question, however, would produce longer outputs, and thus would have actually been fairly challenging and fun to write and it would be more difficult to add languages to your polyglot. I then assess the polyglots in a natural way; by the number of languages they support!

I think that this will lead to very different answers being submitted on either question, but also different uses for these answers; the programs which will be submitted here are the type of programs which would be flaunted around the internet for their ingenuity and creativity, "look! Here's a guy who can pull off a swaggy polyglot in 4 different languages! They're cool!"

When I asked this question, I thought I'd put a twist on the popular and well known Just Another Perl Hacker competition, but add some creativity and an extra "Wow!" factor; JAPH programs are often sported as signatures in forums etc., and I believe entries here will inspire similar use, unlike entries for the other question.

Also, because this isn't a form of code-golf like the other question, but I'm actually assessing answers on the number of languages they support, I believe we can expect some rather incredible entries, making use of language features and loopholes we never knew existed!



Rules:


Two different versions of the same language only count separately if:


You print out the version as well as the language name, for each version.
You detect which version is running thraough a less trivial method than running a ver() function or similar built-in of your language.
The two have different major version numbers.



For example, if you say your program runs in both Python 3.4.1 and 2.7.8, here are the necessary outputs:

Python 3.4.1

just another Python 3.4.1 hacker


Python 2.7.8

just another Python 2.7.8 hacker


If your program doesn't produce the above outputs for each version, then you cannot list the two separate versions as different languages under which your code runs.


You may not have any errors on the maximum level of warning in any of the languages.
Program must terminate.




Winner:


Whoever's (valid) answer supports the most languages. In the case of a tie, the shorter answer (by program byte count) wins.
C, C++, Perl, Bash – 230
#include &lt;stdio.h&gt;
#define c const char*\
s=&quot;just another %s hacker\n&quot;
//bin/test;printf &quot;$s&quot; Bash;exit
int main(){c;printf(s,sizeof'a'-1?&quot;C&quot;:&quot;C++&quot;);}
/*==;seek DATA,0,0;@a=readline DATA;eval'$'.$a[2];printf $s,&quot;Perl&quot;;
__DATA__*/

This was fun! :-)
230 chars including a newline at end of file. To run, save as both poly.c and poly.cpp and do:
$ gcc -Wall -Wextra -pedantic poly.c &amp;&amp; ./a.out 
just another C hacker
$ g++ -Wall -Wextra -pedantic poly.cpp &amp;&amp; ./a.out 
just another C++ hacker
$ perl poly.c
just another Perl hacker
$ bash poly.c
just another Bash hacker