If you are using activestate try
ppm install
If you are using a different flavor try
perl -MCPAN -e "install "
Cheers,
Kristina
I wanted to get the additional modules, so I downloaded the stable.zip
onto
my NT machine and unzipped it, but I haven't been able to get it to
recogni
=> [ qw(Austin Dallas
Houston) ] );
I'd build the Location field only as I needed it for printing.
foreach $state (sort keys %sites) {
foreach $city (sort @{ $sites{$state} }) {
print "Location = $city$state\n";
}
}
Cheers,
Kristina Nairn
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
The following should work say if you want to change the area code from 406
to 302
s/\b406(\d{7})\b/302$1/g
Basically, it looks for a 10 digit number beginning with 406, captures the
last 7 digits, and replaces it with 302 and the same captured 7 digits.
I've treated it is separated by a
The following should work say if you want to change the area code from 406
to 302
s/\b406(\d{7})\b/302$1/g
Basically, it looks for a 10 digit number beginning with 406, captures the
last 7 digits, and replaces it with 302 and the same captured 7 digits.
I've treated it is separated by a
Try using a positive lookahead assertion:
while ( /a(?=a)/g){}
Let me know if it works. ;-)
- Original Message -
From: "Bram Heyns" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, December 19, 2001 2:37 PM
Subject: global matching
I have a rather simple question, but I c
Try the following code:
undef $";
print "@lines";
$" = " "; #there's a space between the two double quotes
Otherwise you could just do this:
print @lines; #without the double quotes default is no space or anything
else
That is to say if indeed you've got a 'print "@lines";' thing going on.