Find knowledge base article(s) by searching for keywords in the title e.g. type linux in the search box below
Find knowledge base article(s) by browsing the subject categories of articles
Technology quick references, cheatsheets, user manuals etc.
Shop Online through ShopifyLite
Tutorials on various IT applications.
Search Title    (UL:0 |SS:f)

Scripting >> Perl >> How to change output delimiter for arrays

1. $" = ""; /* set the delimiter to be null */ @buf = (); /* initialise to zero elements */ $buf[0] = "a"; $buf[1] = "b"; print "buffer = @buf\n"; 2. Alternatively, printing an array without using double quotes will result in no separators between array elements eg. print @myarray => no separators print "@myarray" => will use separators
[ © 2008-2021 myfaqbase.com - A property of WPDC Consulting ]