Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: embedding a scalar into a string without space after the scalar

by eff_i_g (Curate)
on Jan 18, 2011 at 22:27 UTC ( #883002=note: print w/replies, xml ) Need Help??


in reply to embedding a scalar into a string without space after the scalar

Use curlies as stated above. For this situation I prefer:
use Path::Class; my $tmp='./tmp/'; my @zips = map { file($tmp, $_) } qw(file1.zip file2.zip);
  • Comment on Re: embedding a scalar into a string without space after the scalar
  • Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://883002]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (12)
As of 2017-11-17 23:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:













    Results (275 votes). Check out past polls.

    Notices?