in reply to How To Use Bootstrap Code in Perl Script?
THE FOLLOWING WORKS in HTML; NEED TO KNOW HOW TO PUT SAME LINES IN A PERL SCRIPT
For an example see Adding Bootstrap to Shopping Cart in Perl ?
Also see http://perldoc.perl.org/perlintro.html#Scalars and http://perldoc.perl.org/perlintro.html#Files-and-I%2fO and binmode and Data::Dump/Path::Tiny
#!/usr/bin/perl -- use strict; use warnings; use Data::Dump qw/ dd /; use Path::Tiny qw/ path /; dd( path('file')->slurp_raw );
|
|---|