Thursday, June 12, 2008

Well this is on behalf of one of my friends:

http://img383.imageshack.us/img383/4205/12010492mh0.png

He gets this when he tried to read the book- also on another .chm book he also got this too

There s probably a simple answer to this but i dont know so....

I have the latest version of Perl. I think i have to use terminal. only question is where my perl scripts need to be located on my mac for it to work??
I have a manual for windows and it says that perl is saved on c:/perl/bin or something but it s obviously different on a mac so now terminal tells me it can t find the command....

I have a variable
$a = " \\Hello\hi";
I have to print whatever is in between quotes escaping the backslash.
I have to print \\hello\hi

Sample Input Data:
ACBI Acta Biotheoretica 0001-5342 KAP (JC: 00000033)
ACBONE Acta Botanica Neerlandica 0044-5983 <None>

Problem:
I have this sample data above where in i need to copy only the line after each number. can someone please help or can giv a smple on how to do it in perl???

Sample output Data:
ACBI Acta Biotheoretica
ACBONE Acta Botanica Neerlandica

okay i m having trouble with the decession to which phone i should buy. it s between the blackberry perl 8130 in pink. or the strawberry LG. the problem is that the blackberry pearl for tmobile is 300 dollars. and my mom doesnt let me buy it on ebay. and plus even if she did the cheapest one is 109.52$ but i have less than 5 days to bid on it and i only have 30 $ s plus 20 $ my mom will give me. plus 10 $ of my dad- and my uncle will give me 20$ so thats 80 dollars- how am i suppose to get109.52 inless then five days. oh and btw im 11 yrs old. please dont comment if ur gona say im to young for this- bc new s flash im not. i even have a pink laptop. so ha!

I m not a Unix guy but am currently working with it. In one terminal I ssh into a machine- and then telnet into another. In this telnet I spawn an application that accepts commands. I send commands like "moveUp(10)" and others. I wanted to write a program to use on top of this so instead of typing that in- I could just press "up" 10 times- or some other key. Kind of like making shortcut keys. I was going to use perl. I was thinking I could just run the application in a different termnial window to register my key pressed- and have it post the textual commands to the telnet window. Is this possible- and if so how do I do it?

No comments: