Categories:
.NET (357)
C (330)
C++ (184)
CSS (84)
DBA (2)
General (7)
HTML (4)
Java (574)
JavaScript (106)
JSP (66)
Oracle (114)
Perl (46)
Perl (1)
PHP (2)
PL/SQL (1)
RSS (51)
Software QA (13)
SQL Server (1)
Windows (1)
XHTML (173)
Other Resources:
How to concatenate strings with Perl?
How to concatenate strings with Perl?
✍: Guest
Method #1 - using Perl's dot operator:
$name = 'checkbook';
$filename = "/tmp/" . $name . ".tmp";
Method #2 - using Perl's join function
$name = "checkbook";
$filename = join "", "/tmp/", $name, ".tmp";
Method #3 - usual way of concatenating strings
$filename = "/tmp/${name}.tmp";
2013-09-19, 2956👍, 0💬
Popular Posts:
How To Blend a Color Layer to a Image? - PSP Tutorials - Fading Images to Background Colors with PSP...
What is Windows DNA architecture? Note :- If you have worked with classic ASP this question can come...
How can you enable automatic paging in DataGrid ? Following are the points to be done in order to en...
What will be printed as the resultof the operation below: int x; int modifyvalue() { return(x+=10); ...
How to make elements invisible? Change the "visibility" attribute of the style object associated wit...