看板 [ Perl ]
討論串[問題] 關於一段程式輸出的問題
共 3 篇文章
首頁
上一頁
1
下一頁
尾頁

推噓0(0推 0噓 0→)留言0則,0人參與, 最新作者chuankun (歡迎光臨)時間21年前 (2004/03/18 20:34), 編輯資訊
1
0
1
內容預覽:
@str = <STDIN>;. @str = sort @str;. print "@str";. 想請問一下為什麼 print那一列有加 "" 時 @str印出來的時候不能對齊?. 例如. <STDIN>輸入. a. c. b. 執行結果卻是. a. b #前面多一個空白. c #前面多一個空白

推噓0(0推 0噓 0→)留言0則,0人參與, 最新作者littleshan (我要加入劍道社!)時間21年前 (2004/03/18 21:28), 編輯資訊
1
0
0
內容預覽:
perldoc perlvar. $LIST_SEPARATOR. $" This is like $, except that it applies to array and slice val-. ues interpolated into a double-quoted string (or
(還有27個字)

推噓0(0推 0噓 0→)留言0則,0人參與, 最新作者chuankun (歡迎光臨)時間21年前 (2004/03/19 01:31), 編輯資訊
0
0
1
內容預覽:
謝謝~~. --. 九斗桑海田園. http://uuu.to/mulberry/. 桑椹採果、咖啡、花草茶、桑椹簡餐. 歡迎您的光臨!!. --. 發信站: 批踢踢實業坊(ptt.cc). ◆ From: 140.112.115.2.
首頁
上一頁
1
下一頁
尾頁