#!/usr/bin/perl use strict; use warnings; use Data::Dumper; sub head1($){shift} sub cut(){'test'} my $x =head1 'test'; my $y =cut ; print Dumper($x);