The first thing is what kind of glass? There are a couple of "common" glass types.
There are special "low melting" glass's, as well as mid range and high range glass.
You can get special glass, I use it all the time, that will melt in a regular natural gas Bunsen burner flame. I specifically use pre-made straight glass tubes and bend them to various angles for making various apparatus for certain chemical reactions.
I would recommend trying it with low melting glass, as it will be much easier to control the temperature and the melting rate, and work with it, in a Bunsen burner or a torch. You can even heat metal up and drag it across the glass and melt where the metal touches, etc.