Question

What is the perl's equivalent of repr in python/ruby's inspect method?

(I'm asking so I can use it for doing print debugging)

Was it helpful?

Solution

I think you are looking for Data::Dumper; see the documentation for some examples.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top