1 2 3 4 5 6 7
#!/usr/bin/perl use strict; use warnings; my $n = 1; \$n =~ /SCALAR\((.*)\)/ and print "$1\n";