2025-02-10T05:29:29
This commit is contained in:
26
docs/24_pod.md
Normal file
26
docs/24_pod.md
Normal file
@@ -0,0 +1,26 @@
|
||||
# POD
|
||||
|
||||
```perl
|
||||
#!/usr/bin/perl
|
||||
use warnings;
|
||||
use strict;
|
||||
|
||||
print "Hello, World!";
|
||||
|
||||
while(<DATA>){
|
||||
print $_;
|
||||
}
|
||||
|
||||
__END__
|
||||
|
||||
=head1 'Hello World' Program
|
||||
=over 4
|
||||
=item * option 1
|
||||
=item * option 2
|
||||
=back
|
||||
=cut
|
||||
```
|
||||
|
||||
```bash
|
||||
pod2html xxxx.pl
|
||||
```
|
||||
Reference in New Issue
Block a user