I have this problem time and time again. I don't go through the trouble of creating arrays for this though.
The simplest (and surest method) that I've come up with is incrementing the hash keys as numbers. Then compare a and b to print/sort in insertion order.
$hash{"1"} =...
Hey everyone. I am having a little trouble parsing a website with a small regex. I believe it has something to do with the greediness of .* but I don't know of another way around it.
#!/usr/bin/perl
use warnings;
use strict;
use LWP::Simple;
##############################
# Configuration...
No, I don't have a floppy. Most computers you purchase today no longer come with them. We got rid of ours years ago.
It's setup for CD ROM, HD0 and HD1 in that order.
Thanks!
I need to format my system ASAP and I've had many problems lately. The CD rom doesn't let cd's boot in DOS making it impossible to use the Win XP cd to format/reinstall.
I can get the installation to begin WHILE Windows is up and running but I can't do a format that way. I ended up having to...
system32WindowsHash.exe
A few weeks ago this popped into my process during CTRL+ALT+DEL. I keep killing it but every time I logout or reboot the dang thing comes back. I have no idea what it is and I searched this on Google, AskJeeves and Altavista and ZERO results.
Today I got sick of it...
I have a CMD script I'm rebuilding to work into Perl TK. One problem I am having is printing back to the UI itself. I know it has to be done within a label but I can't seem to get variables to print inside of one.<p>
Can someone show me how to make scalars (and other variables) work within a...
Hey thanks Paul, I really appreciate all your help. It is up and running now and it's all thanks to you.
This really isn't my type of programming, I prefer playing in CGI with databases and forms and ImageMagick and fun things like that. Text parsing/manipulation isn't one of my strong...
Not sure if this is a problem you're having but keep in mind tables have to load entirely (in Internet Explorer) before any of it will print to the screen. If you have a large database and are printing out tables, this could be a reason for slow load times. It has to wait for the /table>...
I believe I am but I bet it's a simple over looked issue. Here is what I have so at this time.
replace.txt ($readfrom)
bdroom || bedroom
clst || closet
on || xxxxxxxxxxxxxxxxx
this string || ---
bowl of || plate of
apple || pear
php || ---
love || hate
You'll || xxxxxxxxxxxxxxxxxxxx...
Hiya Paul.
I saw that after I posted this and it didn't replace anything this time around either. This seems like to be one of those projects you start but can't quite finish due to problems, it'd be the third script this month where something was always holding it back.
This one gets filed...
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.