> > > > "if $snapname" should be enough. > > If $snapname is "0mysnap" it isn't as perl would interpret this as false I don't really remember, but normally our names are not allowed to start with numbers. No sure if we have that restrictions for snapshot names.