On Wednesday 24 December 2008, Mr. Shawn H. Corey wrote:
> On Wed, 2008-12-24 at 13:16 -0500, Charlie Farinella wrote:
> > I need to read in a file of 200 lines and print each out to a separate
> > file.
> >
> > I've been stumbling with this, but I don&
I need to read in a file of 200 lines and print each out to a separate
file.
I've been stumbling with this, but I don't know how to name each outfile
individually. I was hoping to see 200 files named tx1 - tx200, but
instead I get tx1234. for 123 files and then it dies.
H
On Thursday 09 October 2008, Charlie Farinella wrote:
> I have a string of text that I want to split on the tabs:
>
> while () {
> my @array = split(/\t/, $_);
>
> ...manipulate them a little, and print them back out like so:
>
> print "$array[0],$array[1
I have a string of text that I want to split on the tabs:
while () {
my @array = split(/\t/, $_);
...manipulate them a little, and print them back out like so:
print "$array[0],$array[1],$array[2]"; etc.
}
I normally just print them as above, but I'm thinking there must be a
better way
On Thursday 24 January 2008, [EMAIL PROTECTED] wrote:
> Charlie Farinella <[EMAIL PROTECTED]> writes:
>
> > On Wednesday 16 January 2008, Peter Scott wrote:
> >> On Tue, 15 Jan 2008 15:13:29 -0500, Charlie Farinella wrote:
> >> > I need to monitor a direc
On Wednesday 16 January 2008, Peter Scott wrote:
> On Tue, 15 Jan 2008 15:13:29 -0500, Charlie Farinella wrote:
> > I need to monitor a directory and when a file is created, modify it.
> > I've been playing with Linux::Inotify2 and may be able to make that
> > work, b
Hi,
I need to monitor a directory and when a file is created, modify it.
I've been playing with Linux::Inotify2 and may be able to make that
work, but am wondering if this is something that people do routinely.
My search at CPAN wasn't particularly fruitful.
thanks,
--
-
On Wednesday 07 November 2007, [EMAIL PROTECTED] wrote:
> On Nov 7, 5:43 pm, [EMAIL PROTECTED] (Charlie
> Farinella) wrote:
> > I'm trying to substitute a string with a Mason variable in a bunch
of
> > files and not having any luck. For instance I want to change the
&
Hi,
I'm trying to substitute a string with a Mason variable in a bunch of
files and not having any luck. For instance I want to change the
string 'testtext' to '<% $bURL %>' in a file:
perl -w -i -p -e "s/testtext/'<% \$bURL %>'/g" test.html
..substitutes '<% %>'
I've tried quotes, double q
On Thursday 26 April 2007 21:47, Tom Phoenix wrote:
> On 4/26/07, charlie farinella <[EMAIL PROTECTED]>
wrote:
> > I have a script which uses Net::FTP to upload a backup file each
> > night. It sends me an email each night if it succeeds and a different
> > email if any
I have a script which uses Net::FTP to upload a backup file each night.
It sends me an email each night if it succeeds and a different email if
any of the methods fail. This all works, but sometimes the ftp
connection times out and my script hangs without sending anything.
I don't know how
On Mon, 2002-09-30 at 17:18, Felix Geerinckx wrote:
> on Mon, 30 Sep 2002 21:12:56 GMT, Charlie Farinella wrote:
>
> > I have an error popping up in an application that runs monthly reports
> > and everymonth seems to leave off the last day's entries.
> >
> >
be
appreciated.
thanks.
--
--------
Charlie Farinella, Appropriate Solutions, Inc.
[EMAIL PROTECTED]
603-924-6079
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
m missing how the function is different from the original, or I
am not understanding 'return'.
--
Charlie Farinella
[EMAIL PROTECTED]
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
$_ =~ s/^.*.*$//g;
print $_;
}
}
close INFILE;
--charlie
--
--------
Charlie Farinella, Appropriate Solutions, Inc.
[EMAIL PROTECTED]
603-924-6079
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For ad
15 matches
Mail list logo