I think that your problem is that you need to either install the package to
the base directory /usr or add /usr/local/perl5 to your @INC.
The line, "Can't locate Net/FTP.pm in @INC @INC contains:"
tells you where it is looking for modules. As you installed the module
to /usr/local/perl5, it ne
/[\-\/\.]/, $string;
>
>
>
>
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of
> Jon Shorie
> Sent: Wednesday, April 14, 2004 1:13 PM
> To: [EMAIL PROTECTED]
> Subject: [Perl-unix-users] Problem that I am having with split
If I have the following kind of data
500/00-7.1.19.3
I want to split it into separate variables as such
$a = "500"
$b = "00"
$c = "7"
$d = "1"
$e = "19"
$f = "3"
Here is what I have so far
($a,$g) = split("/",$projectnumber);
($b,$g) = split(/-/,$pa);
($c,$d,$e,$f) = split(/./,$g);
print "$a xx
Could this be the old carrage return/linefeed problem?
Windows puts both a carriage return and a linefeed after each return.
Unix uses only one of them.
Mac OS (7-9.21) uses the other.
I don't have an ascii chart handy, but maybe someone else could shed more
light on this.
On Thursday 23 Janu
I am hitting a mental block on this. I know that it is probably simple, but I
will ask anyway. I am trying to convert a string of the form:
$string1 = "900/00-2.3"
to
$string2 = "900/00/2/3"
Here is what I have so far:
($n1,$r2) = split(/-/, $string1);
($n2,$n3) = split(/./, $r2);
$string
On Thursday 02 January 2003 07:14, Mundell, R. \(Ronald\) wrote:
> Good Day All
>
> does any body know how to print a page out of Perl
>
> Thanks
>
> Ronald
I have used a method where I created an html page in perl and instead of
printing it to the user, sent it to a file. The file I then send to
On Friday 27 December 2002 04:13, Mundell, R. \(Ronald\) wrote:
> Sorry to move off the track a bit but does any one know where I can get
> hold of Staroffice 6?
You can get a demo from Sun's website. If you are looking to purchase the
product, I have seen it at staples stores or online at www.s
On Monday 07 October 2002 04:50, [EMAIL PROTECTED] wrote:
> Hi,
>
> Assuming you've parsed your CSV file and are just looking for the phone
> number which is in a string...
>
> If your telephone numbers are north-american only, then the problem is
> fairly trivial because you always have the same
I work for a local government agency as the Network Administrator.
I wrote this code as part of a backup application that creates tars of all
data files to a backup server and then to a removeable drive. This is a web
based interfaced to the copy to removeable drive code. I ran into the same