ChinaUnix.net
相关文章推荐:

无法访问函数不正确

[code]while(){ if($.==1){ chomp; %tab=(); @b=map{($tab{$_}==1)?($_):($_=$_.2)} split(/\s+/,$_); print "@b\n"; }else{ s/"(.*?)"/\1/g; print; } } __DATA__ Column1 Column2 Column3 Column4 Column3 Colum5 Data Data "Data" Data "Data" Data[/code]运行结果: Column12 Column22 Column32 Column42 Column32 Colum52 Data Data Data Data Data Data 某兄的题目,结果没搞定...

by mysqllog - Perl - 2011-06-20 00:09:26 阅读(2533) 回复(8)

相关讨论

运行出来是自己添加字符单词之后比如ne

by clbczb - C/C++ - 2006-12-07 21:01:18 阅读(875) 回复(1)

我装了solaris 8 完后启动要输入login和password我怎么通不过

by vagrant007 - Solaris - 2003-11-06 15:42:05 阅读(876) 回复(0)

我装了solaris 8\r\n完后启动要输入login和password我怎么通不过

by vagrant007 - Solaris - 2003-11-06 15:42:05 阅读(2454) 回复(0)

本帖最后由 tianlijian 于 2014-03-20 12:28 编辑 echo '10443641200|one 1044364120|two' | sort -t '|' -k1 输出为 10443641200|one 1044364120|two 这个排序是反的。正常值应该为 1044364120|two 10443641200|one 需要安字典来排序,并非数字

by tianlijian - Shell - 2014-03-19 21:19:16 阅读(1657) 回复(3)

# comm -13 c3.test.com c3.test.com.local |tail -n 20 assets/user/repo/970 assets/user/repo/971 assets/user/repo/972 assets/user/repo/973 assets/user/repo/974 assets/user/repo/975 assets/user/repo/976 assets/user/repo/977 assets/user/repo/978 assets/user/repo/979 assets/user/repo/980 assets/user/repo/981 assets/user/repo/982 assets/user/repo/983 assets/user/repo/984 assets/user/repo/985 assets/user...

by hover_sky - Shell - 2011-01-26 17:01:24 阅读(1344) 回复(4)

想用sysinfo()得到内存使用情况 #include #include #include #include int main(void) { struct sysinfo s_info; int error; error = sysinfo(&s_info); printf("code error = %d\n", error); printf("Uptime = %lds\nLoad: 1 min %lu / 5 min %lu / 15 min %lu\n" "RAM: total %lu / free %lu / share...

by wswn5456 - C/C++ - 2008-09-09 11:24:57 阅读(1629) 回复(4)

我下载了wxPython2.8-win32-unicode-2.8.7.1-py25.exe,安装以后,运行了下面的代码: import wx app = wx.App() frame = wx.Frame(None, title='hello') frame.Show() app.MainLoop() 将代码保存为wx.pyw后,在cmd里面输入python wx.pyw,出现提示信息: Traceback (most recent call last): File "wx.pyw", line 1, in import wx File "D:\lidan\wx.py", line 15, in class DemoPanel(wx.Panel)...

by hbsld - Python - 2008-04-17 12:51:32 阅读(6248) 回复(1)

本帖最后由 二摄氏度的冰 于 2014-08-26 11:25 编辑 这是这两个图片的显示结果。 我改了驱动,支持了这块屏幕800*1280的,竖屏。板子是飞凌OK335xD。 以下是我对屏幕的配置。附件是该屏幕的的datasheet。 239 .name = "LCD_7_1280_800", 240 .width = 800, 241 .height = 1280, 242 .hfp = 16, 243 .hbp = 32, 244 .hsw = 16, 245 .vfp = 5, 246 .vbp = 2, 247 .vsw = 1, 248 .pxl_clk = 70050000,// 68 Mhz lhz 249 .inv...

by 二摄氏度的冰 - 嵌入式开发 - 2014-09-02 18:18:34 阅读(892) 回复(3)

比如说,对于 GetOptions('a=s'=>\$opt_a); 如果运行时只加了 -a,而没在 -a后面加上一个string,运行之后只会报一个warning,程序其实还是能继续往后运行的 。 能不能或者有没有办法,在参数不正确时,让程序退出? 怕没描述清,再描述一点: 如果加了-a,并且在-a之后无string时,退出。 如果没加-a,仍旧正常运行,不退出。 请高手帮忙,谢谢~

by 午夜凋零 - Perl - 2011-12-21 19:44:34 阅读(1688) 回复(6)

> su Password: # crontab -l #ident "@(#)root 1.21 04/03/23 SMI" # # The root crontab should be used to perform accounting data collection. # # 10 3 * * * /usr/sbin/logadm 15 3 * * 0 /usr/lib/fs/nfs/nfsfind 30 3 * * * [ -x /usr/lib/gss/gsscred_clean ] && /usr/lib/gss/gsscred_clean # # The rtc command is run to adjust the real time clock if and when # daylight savings time changes. # 1 2...

by seacnboy - Solaris - 2011-10-20 16:59:14 阅读(2475) 回复(7)