An example of the DATA file variable. : Here Document « String « Perl
- Perl
- String
- Here Document
An example of the DATA file variable.
#!/usr/local/bin/perl
$line = <DATA>;
print ("$line");
__END__
This is my line of data.
Related examples in the same category