Hi,
In the process of trying to get perl modules installed, I downloaded over
300 Activestate specific perl modules and they work fine (of the ones I've
used).
Now, I've read somewhere that the perl modules which are located on CPAN
are not directly compatible with ActiveState's version of Perl
Hi,
I have a database file with multiple entries which is an output from a now
extinct SQL database.
I've edited it in the past using Access, but want to create a perl script
which will allow me to change the values for this one file (which I can then
send out to our remote computers).
Curren
Hi,
Learning Perl from scratch at the moment, but not sure how I can go about
writing perl scripts in place of my existing batch scripts.
Below, is a working batch file.. what modules etc would I have to download
to get Perl to do the same thing?
Running Win2k and Perl 5.8.
Céad Mile Fáilt
print "Multiply by 2 : $fred \n";
$fred -= $Sub;
print "Subtract 6 : $fred \n";
$fred /= $Div;
print "Divide by 2 : $fred \n";
$fred .= $Append;
print "Append 5 to Fred : $fred \n";
-Original Message-
From: LoBue, Mark [mailto:[EMAIL PROTECTED]
S
Mark [mailto:[EMAIL PROTECTED]
Sent: 27 June 2003 00:45
To: 'Derek Byrne'; '[EMAIL PROTECTED]'
Subject: RE: Re : Compilation Errors
> -----Original Message-
> From: Derek Byrne [mailto:[EMAIL PROTECTED]
> Sent: Thursday, June 26, 2003 4:15 PM
> To: '[EMAIL PROTEC
Just a note - running win2k and perl v5.8.0 (built for
MSWin32-x86-multi-thread).
-Original Message-
From: Derek Byrne
Sent: 27 June 2003 00:13
To: [EMAIL PROTECTED]
Subject: Re : Compilation Errors
Hi All,
Reading through Learning Perl (3rd Ed), and messing around with Binary
Hi All,
Reading through Learning Perl (3rd Ed), and messing around with Binary
Assignment Operators (2.5.3).
Code is as follows :
#!perl -w
$fred = 4;
print "Fred is now : $fred \n";
$fred += 4;
print "Add 4 to Fred : $fred \n";
$fred *= 2;
print "Multiply by 2 : $fred \n";
$fred -= 6;
print "
Newbie answer here - if you change the line
my $string = 'I love c++';
to be
my $string = 'I love c\++';
it runs, but, you also get this output :
C:\SCRIPTS\test>perl lovec.pl
some compare string does not contain I love c\++
DerekB
-Original Message-
From: John W. Krahn [mailto:[EMA
Try This Then :
--START--
print "Name your friends: ";
$friends = ;
#chomp($friends);
@names = split(/ +/, );
print "I know $names[0].\n";
--END--
I get the following result (which is slightly better)
--START--
C:\SCRIPTS\test>perl names4.pl
Name your friends: Der
Quick question,
is there another way of ending the input of information into an array?
Didn't know that CTRL-Z had to be used to terminate the input from the user
before the rest of the prog would work. :o)
like, for example, is there a way of limiting the size of the array to only
1 or 2 entries
What kind of error messages are you getting.
Running Win2k over here.
Can you give an example of a script which doesn't work?
-Original Message-
From: Anthony Beaman [mailto:[EMAIL PROTECTED]
Sent: 25 June 2003 13:46
To: Kipp, James; [EMAIL PROTECTED]
Subject: RE: Mastering "Learning Perl
Hi Anthony,
grabbed this from O'Reilly's Learning Perl :
@rocks = qw/ bedrock slate lava /;
foreach $rock (@rocks) {
$rock = "\t$rock"; # put a tab in front of each element of
@rocks
$rock .= "\n"; # put a newline on the end of each
}
print "The rocks are:\n", @r
Sorry John,
wasn't watching where I was sending the reply...
-Original Message-
From: Derek Byrne
Sent: 24 June 2003 21:40
To: 'John W. Krahn'
Subject: RE: Binary file conversion
best thing is to try opening them with notepad (if you got windows 9x/NT).
dat files a
13 matches
Mail list logo