How do I open the pod to enter things into?? I want to enter
#! /usr/local/bin/perl -w
$sweet = "chocolate";
$presents = 12;
print "I like $sweet\n";
print "How many? $presents\n";
HELP! Using Perl in Windows? How do I open the POD?
I've no idea what a pod is.
1) Start notepad.
2) Copy and paste the above into notepad.
3) Comment out the top line.
4) Save it e.g. as wtfdoespodmean.pl
5) Start a command window and type 'perl wftdoespodmean.pl'.
Reply:http://www.perl.org/books/beginning-perl...
Reply:knit one stroke on pearl one
Reply:You have entered the path of the Perl interpreter as:-
#! /usr/local/bin/perl -w
which looks like the path of a Linux/Unix OS.
Check that the path exists on Windows, if not then change the path or it will not work.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment