On 06/17/2015 10:01 PM, Mike Flannigan wrote:

Thank you.  I stand corrected.

Interestingly, if you do "perldoc -q $," it does
not explain $, but instead goes into some system
with >> as the prompt.

you need to escape the $ from the shell. also you can use perldoc -v to get info on any builtin variable:


perldoc -v '$,'
       Handle->output_field_separator( EXPR )
       $OUTPUT_FIELD_SEPARATOR
       $OFS
$, The output field separator for the print operator. If defined,
               this value is printed between each of print's arguments.
               Default is "undef".

               Mnemonic: what is printed when there is a "," in your print
               statement.


uri

Reply via email to