In
Pink Floyd's The Wall, the worms represented
knowledge,
reality,
life, and
death (and there are more interpretations). In
The Trial,
Pink is forced by the worms to confront the
world as it really is, without his
wall. There are multiple references to the worms throughout the two disc album - they are usually regarded as a
fearsome thing.
Knowledge is power - it can be used for good or evil. Nothing can defy
nature. If, like Pink, we choose to
ignore reality, we won't be able to deal with it when it finally breaks through our wall.