Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

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

by thezip (Vicar)
on Jan 19, 2011 at 00:57 UTC ( [id://883027]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    
    ...
    
    my @zips = map { sprintf $filename_template, $tmp, $_ } (1 .. 5);
    print Dumper(\@zips);
    
  2. or download this
    __OUTPUT__
    $VAR1 = [
    ...
              './tmp/file04.zip',
              './tmp/file05.zip'
            ];
    

Log In?
Username:
Password:

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

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

    No recent polls found