Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: Backtics and variables

by jacaril (Beadle)
on Mar 16, 2010 at 14:02 UTC ( #828932=note: print w/ replies, xml ) Need Help??


in reply to Backtics and variables

Value will be subbed in with all Perl versions I have used.

my $filename = "foo"; `echo $filename > $filename`;
Creates file foo with 1 line foo in the file.


Comment on Re: Backtics and variables
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (11)
As of 2014-09-16 12:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (15 votes), past polls