tag:blogger.com,1999:blog-5907655605807122632.post777012723817019672..comments2024-03-19T02:17:41.360-07:00Comments on Perl Adventures: Use Statements and the Whole ShebangAnonymoushttp://www.blogger.com/profile/14422352024976746995noreply@blogger.comBlogger4125tag:blogger.com,1999:blog-5907655605807122632.post-8550452333074725282014-02-24T04:24:25.658-08:002014-02-24T04:24:25.658-08:00My understanding is shebang is a contraction of &q...My understanding is shebang is a contraction of "sharp bang" back when # was called sharp, as in music.Anonymoushttps://www.blogger.com/profile/00848844233323299487noreply@blogger.comtag:blogger.com,1999:blog-5907655605807122632.post-34753461381786736762014-01-31T11:56:02.991-08:002014-01-31T11:56:02.991-08:00> It comes from the US where they apparently ge...> It comes from the US where they apparently get confused by the term "exclamation mark".<br /><br />It's not confusion so much as laziness. Why say five syllables when you can skate by with only one? :-)Barefoot Coderhttps://www.blogger.com/profile/02318070650381051837noreply@blogger.comtag:blogger.com,1999:blog-5907655605807122632.post-28772545696663272792014-01-14T03:01:44.838-08:002014-01-14T03:01:44.838-08:00Have you considered signing this blog up to http:/...Have you considered signing this blog up to http://ironman.enlightenedperl.org/ ? It's a good way to get your posts seen by a wider audience of Perl typesDominichttps://www.blogger.com/profile/04519035230949228131noreply@blogger.comtag:blogger.com,1999:blog-5907655605807122632.post-42304921764004895982014-01-14T02:53:30.047-08:002014-01-14T02:53:30.047-08:00"As far as I can tell shebang is actually a s..."As far as I can tell shebang is actually a slang word, because why would any normal person come up with that as an official term?"<br /><br />It's a contraction of "hash bang". Because the it starts with a hash (#) followed by a bang (!). It comes from the US where they apparently get confused by the term "exclamation mark".<br /><br />"Symbolic reference" means "using a variable as a variables name". For example:<br /><br />$var_name = 'emmas_variable';<br />$$var_name = 'Perl'; # Note the two dollar signs<br /><br />This has the effect of creating a variable called $emmas_variable and setting its value to 'Perl'.<br /><br />Beginner programmers often think that this is a cool feature. When really, it's horrible. Mark Dominus has a great explanation of the problems it causes.<br /><br />http://perl.plover.com/varvarname.htmlDave Crosshttps://www.blogger.com/profile/17165198648105678551noreply@blogger.com