1. Use the proper file system/directory functions to put the file names into
an array.
2, Step through the array of file names and use regular expressions to
test if the file name matches your criteria.
3. if test is true, open some file handles and write the file at the end
of your ne
Hi
I am seeking advice of a general nature.
I plan to write some software which will interface with another piece of
software which may have various alternative replacements - for example, an
http server.
I intend to write a generic interface module, say 'httpd.pm', and use that
to mask the act
As personal preference I do try hard not to use system() calls in my Perl
scripts because Perl can do everything itself with built-ins or
modules. It's my opinion that while easier in terms of coding a lot of the
time using system() calls or back-tics it is harder, albeit most likely not
too
cat phr*.txt >> newfile
RNOORY wrote:
> Hello,
> I would like to concatenate several text files that all begin phr*.txt to create one
>text file.
>
> Thanks
>
>
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hello,
I would like to concatenate several text files that all begin phr*.txt to create one
text file.
Thanks
Hello,
I can think of two ways to do what you want:
1. use fetchrow_arrayref and get the output by its index.
while ( my $row = $sth->fetchrow_arrayref )
{
$Msgs_In=$row->[2];
$Msgs_Out=$row->[3];
$Bytes
hi all,
i am trying to access the results of a query made to a mysql db.
the query is
query code==
my $incoming = "SELECT sum(bytes_in),sum(bytes_out),sum(msgs_in),"
."sum(msgs_out)"
." from trafficpe
There are several methods for executing external commands from Perl. The 2
most common would be 'system()' and backticks '``'. You should probably
read the 'perldoc -f system' for detailed info. The main difference between
backticks and system is where the commands output goes and where the ret
Hi All,
i'm beginning to programm dialogues with a Qt-designed graphical interface.
In my test program i have designed a calculator, and i wanted him to store
a value when clicking a special button. But it doesn't work.
Can you help me to find my failure?
the source code looks like:
$qApp = co
With tcsh I just use backticks (below the tilde) because it's simple and
reliable and no worry about resources and they are not repetitive tasks and I
don't care if Santa brings me anything. So:
`cp thisfile thatfile`;
bing, done.
Cron for example, a scheduled task, can start the script an
10 matches
Mail list logo