Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re^2: syntax error at example.pl line 1

by AnomalousMonk (Archbishop)
on Jun 17, 2016 at 05:43 UTC ( [id://1165935]=note: print w/replies, xml ) Need Help??


in reply to Re: syntax error at example.pl line 1
in thread syntax error at example.pl line 1

If you're thinking of
    print "'$cheese' ";
it should be ok because the single-quotes are actually in | actually literal characters within a double-quote operator:

c:\@Work\Perl\monks>perl -wMstrict -le "my $cheese = 'limburger'; print \"'$cheese' \"; " 'limburger'


Give a man a fish:  <%-{-{-{-<

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1165935]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others taking refuge in the Monastery: (3)
As of 2024-04-25 09:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found