Hi,
I've just bought a pcmcia Bluetooth card for my laptop so I can use it to connect to my mobile phone and I was wondering if the following would also be possible.
If I bought a Bluetooth adaptor for my desktop PC aswell (win2000 proessional), could I use bluetooth to allow my laptop to...
Hi,
If I have something like
$var="abcd";
How can I make a substitution to the contents of $var and display the substituted output without making any changes to the actual contents of $var.
So in the above example, I want to keep the contents of $var the same, but in a print...
If I have a directory,
/export/web/sun
Which contains lots of other directories of the following format....
explorer.hostid.hostname-2002.09.10.21.10
hostid is an unknown alphanumeric string and the date at the end of the directory name is also unknown...
I have an array containing only a...
Hi,
Does anyone know if it's possible to do this in one line, as opposed to creating an array then creating a reference to that array?
my @HOSTS=split /,/, aaa,bbb,ccc,ddd
my $HOSTLIST=\@HOSTS;
Thanks
I'm having some problems getting it to work
All i've changed on the line below is action="cgi-bin/getpatch"
<form name="f1" action="" onsubmit="return checkId(document.f1.patchid)">
Do I need to change document to anything or should it work as it is...
Hi,
I've got a really simple html form that takes user input into one box (input name=patchid)
Can someone give me an example of how I would validate patchid to make sure it is a 6 digit number?
I don't know any javascript but i've tried a couple of things with no success so far so any help...
That didn't help, sorry.
My program goes round in a loop and prints one string after another to the screen. I just need the printed string to appear in the same place the previous one did instead of being on a new line or appearing after the previous string on the same line...
sorry, should have put some more details
There will be no newline before it as I want to print a string, then go to the beginning of the line and print another string (essentially over the top of the first string)
Hi, is there a way to tell the print function to print at the beginning of the line? At the moment, i've cheated by using print "\b\b\b\b\b\b\b\b\b\b\b\b$var"; but it's not very tidy!
Thanks
Hi,
When using print to display an array element, like this..
print "$myarray[0]\n";
Is it possible to specify a range of elements to print? So instead of just having element 0, I could say elements 0 to 5.
Thanks for any help you can give me.
This is related to the unix expect tool that uses TCL so I hope the question is still relevent here.
If I have an array element expect_out(buffer) that has a multiple line content like this....
AAAAAAA
BBBBBBB
CCCCCCC
ABCD$
How would I go about removing the last line?
I've tried using string...
Hi,
I have an expect question......
Given the following contents of expect_out(buffer)
uname -a
SunOS xx 5.8 Generic_108528-15 sun4u sparc SUNW,Sun-Fire
xxxx
does anyone know how I can remove the last line from the buffer? (its contents could be varying so I cant just use string trimright...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.