Thread CGI::Application: Vorgehensweise (Frage am Rande) (16 answers)
Opened by pktm at 2004-05-18 12:22

ptk
 2004-05-18 22:47
#29253 #29253
User since
2003-11-28
3645 Artikel
ModeratorIn
[default_avatar]
/tmp/bla.pl enthaelt:
Code: (dl )
1
2
3
4
5
6
7
#!/usr/bin/perl
sub sub_1 { die }
my $event = {
'src' => \&sub_1(q|attrib_1|),
'file' => \&sub_2(q|attrib_2|),
'keyword' => \&sub_3(q|attrib_3|),
};

Der Aufruf liefert:
Code: (dl )
1
2
3
$ /tmp/bla.pl
Died at /tmp/bla.pl line 2.
Exit 255

View full thread CGI::Application: Vorgehensweise (Frage am Rande)