The result "Regexp" indicates that the argument is a regular expression resulting from "qr//". #### #!/usr/bin/perl my $regX = qx /\.pm/ ; printf ("type of regX=%s\n", ref(\$regX));