Product: Fedora
https://bugzilla.redhat.com/show_bug.cgi?id=889715
Petr Pisar <ppisar(a)redhat.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |CLOSED
Resolution|--- |NOTABUG
Last Closed| |2013-01-28 03:09:24
--- Comment #4 from Petr Pisar <ppisar(a)redhat.com> ---
(In reply to comment #3)
And the syntax error:
syntax error at ~/Desktop/User Scripts/user.pl line 3, near "chomp"
Execution of /home/Joshua/Desktop/User Scripts/user.pl aborted due to
compilation errors.
My code is the same:
!#/usr/lib/perl
#can also be /usr/bin/perl
Correct one is:
#!/usr/bin/perl
print "What is your name?"
This is line 3. You are
missing semicolon at the end of print command.
chomp($my_varible=<STDIN>);
--
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug
https://bugzilla.redhat.com/token.cgi?t=kTmGyBiIUH&a=cc_unsubscribe