Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Interpolation in Single-quotes?

by goibhniu (Hermit)
on May 13, 2008 at 19:22 UTC ( [id://686348]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #/usr/bin/perl -lW
    
    ...
    
    print '$path: '.$path;
    print '$otherstring: '.$otherstring;
    
  2. or download this
    C:\chas_sandbox>
    singlequoteinterp.pl
    ...
    syntax error at C:\chas_sandbox\singlequoteinterp.pl line 9, near "/Pr
    +oject/Stat
    e"
    Bad name after Server' at C:\chas_sandbox\singlequoteinterp.pl line 9.
    
  3. or download this
    #/usr/bin/perl -lW
    
    ...
    
    print '$path: '.$path;
    print '$otherstring: '.$otherstring;
    
  4. or download this
    C:\chas_sandbox>
    singlequoteinterp.pl
    $path: C:\chas_sandbox\
    $otherstring: //Project/State/Task/Server
    
  5. or download this
    C:\chas_sandbox>
    perl -v
    ...
    Complete documentation for Perl, including FAQ lists, should be found 
    +on
    this system using "man perl" or "perldoc perl".  If you have access to
    + the
    Internet, point your browser at http://www.perl.org/, the Perl Home Pa
    +ge.
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others perusing the Monastery: (4)
As of 2024-04-26 09:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found