double slash operator syntax question

I may have asked this in another form recently, but I'm senile, so indulge me. What I want to do: if $lb_lang is undefined, I want to set it. $lb_lang // {$lb_lang = 'en'}; What perl -w yelled: Useless use of single ref constructor in void context at etc. But it seems to work in spite of the yelling.