
crfreaks
New User
Mar 22, 2014, 7:55 PM
Post #1 of 5
(2602 views)
|
Global symbol "$name" requires explicit package name
|
Can't Post
|
|
hello, I am just starting out and was just tring out a lesson i found and well i can not get it to work. syntax error, near "my" Global symbol "$name" requires explicit package name
#!/usr/bin/perl -w use strict; use warnings; print "Hello World\n"; print "What is your name?\n;" my $name = readline STDIN; chomp ($name); print "Hello $name how may i help you today?\n"
|