Monday, September 17, 2018

The $_ variable in Perl is kinda like the clipboard in that it is a cache of the most recently used variable.

I guess that's not much like the clipboard at all really. The clipboard has a cache of that which is copied or cut most recently so that you may paste from the clipboard. No one wants to think about this stuff (Perl) anymore. You may spit something out as HTML in PHP with an echo like so:

echo "<h1>ghetto</h1>";

 
 

Variable names in PHP are led by dollar signs.

No comments:

Post a Comment