From: "Peña, Botp" Date: 2003-01-29T17:22:03+09:00 Subject: Re: program name -> perl's $0 Daniel Bretoi [mailto:lists@debonair.net] asked: > Gah, I keep shooting myself in the foot when trying to use it > in quotes, thats my problem. it should ofcourse be #{$0} > then. anyway, a complete list of such variables, or a link to > a page containg them would still be nice. fr my winpc... C:\ruby\lib\ruby\1.7>type english.rb alias $ERROR_INFO $! alias $ERROR_POSITION $@ alias $LOADED_FEATURES $" alias $FS $; alias $FIELD_SEPARATOR $; alias $OFS $, alias $OUTPUT_FIELD_SEPARATOR $, alias $RS $/ alias $INPUT_RECORD_SEPARATOR $/ alias $ORS $\ alias $OUTPUT_RECORD_SEPARATOR $\ alias $INPUT_LINE_NUMBER $. alias $NR $. alias $LAST_READ_LINE $_ alias $DEFAULT_OUTPUT $> alias $DEFAULT_INPUT $< alias $PID $$ alias $PROCESS_ID $$ alias $CHILD_STATUS $? alias $LAST_MATCH_INFO $~ alias $IGNORECASE $= alias $PROGRAM_NAME $0 alias $ARGV $* alias $MATCH $& alias $PREMATCH $` alias $POSTMATCH $' alias $LAST_PAREN_MATCH $+ > db kind regards -botp