Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: opening files where name is a concatenation of variable

by philcrow (Priest)
on Oct 10, 2007 at 15:30 UTC ( #643987=note: print w/ replies, xml ) Need Help??


in reply to opening files where name is a concatenation of variable

You don't need (or want) dots for concatenation inside a string. Things just interpolate:

...">$basedir/output/file.text") or die ;

Phil

The Gantry Web Framework Book is now available.


Comment on Re: opening files where name is a concatenation of variable
Download Code
Replies are listed 'Best First'.
Re^2: opening files where name is a concatenation of variable
by confused_newbie (Initiate) on Oct 10, 2007 at 15:33 UTC
    fantastic, it works! thanks phil

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (18)
As of 2015-07-07 18:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (93 votes), past polls