Server IP : 184.154.167.98 / Your IP : 18.118.255.161 Web Server : Apache System : Linux pink.dnsnetservice.com 4.18.0-553.22.1.lve.1.el8.x86_64 #1 SMP Tue Oct 8 15:52:54 UTC 2024 x86_64 User : puertode ( 1767) PHP Version : 8.2.27 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /usr/share/doc/perl-Error/examples/ |
Upload File : |
#!/usr/bin/perl -w require Error; if( $ARGV[0] ) { import Error qw( :warndie ); print "Imported the :warndie tag.\n"; print "\n"; } else { print "Running example without the :warndie tag.\n"; print "Try also passing a true value as \$ARGV[0] to import this tag\n"; print "\n"; } sub inner { shift->foo(); } sub outer { inner( @_ ); } outer( undef );