DEV Community

loading...

Discussion on: What the #! shebang really does

Collapse
learnbyexample profile image
Sundeep • Edited

See also this great discussion on how Perl handles shebang: perl.com/article/bang-bang/

The perl is not like other interpreters—its nice, even with challenges. perl inspects the shebang to check if it’s really for it (and if not it hands our program over to another interpreter).