When adding a snippet the $_ variable is not stored as it is evaluated in the snippet string and contains no value.