x27;t try them
out: you'll learn a lot about the problem(s) you are trying to solve.
[snip rest of message]
HTH
--
Marcello Romani
Developer
Spin s.r.l.
Reggio Emilia
http://www.spinsoft.it
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL P
mas. Again, his code was:
open my $fh, '<', $input_file or die qq(Cannot open "$input_file": $!);
What am I missing here?
I hope this 3-lines script will clarify the issue:
my $var = "world";
print qq(Hallo "$var"\n);
print qq(Hallo $var \n);
HTH
[snip]
he
program to ignore the space..
Are you sure you are calling the script using "GU 1" ? If you don't use
quotes your program will see GU and 1 as separate arguments.
This is because the shell treats space as argument separator.
I thought by putting x on the line ($m
.
In addition, you need to
use ;
in every module or script where you use that 's exported
functions or class medthods. If you don't include the 'use' directive
you should get compilation errors.
--
Marcello Romani
Developer
Spin s.r.l.
Reggio Emilia
http://www.spinsoft.it
rutledge.50 ha scritto:
Hi, thanks Marcello :)
I finally figured it out by painfully following 10 sets of data through
the process.
First, this was causing two problems:
#now cycle through result set in next query
foreach $myhsid (@hsid)
{
$myhport = pop(@hport
rror below
The 'hour' parameter (undef) to DateTime::new was an 'undef', which is not one
of the allowed types: scalar
The module DateTime is the exaclty the same.
Any idea on what might be going wrong?
I think you should show us where those $fields come from.
--
Marcello R
linc ha scritto:
Howdy,
I'm having some serious trouble. I'm running a query and getting the
data, but having problems using that data in the next query. Thus:
#first query
$sth = $dbh->prepare
( "select distinct hmac, hport, hsid from netdata_history" );
$sth->execute( );
$sth->bind
y the text
file is written, I have no control over that...
Regards,
--
Offer Kaye
How do you logically determine that "l2dat4" in line 2 is column 4 and not
column 2??
Manav
Just a thought: because l2dat4 starting column is greater than column 4
header starting column ?
Marce
Wilson, Josh --- Systems Analyst --- GO ha scritto:
All,
I'm trying to determine what is wrong with this script. Here is what
I'm trying to do:
1.) Export the output of the following command to a file located at
c:\perl\bin\log\accessreport.log
Global "Domain Admins" ARFW > c:\perl\bi
"Inside ELSE part";
handle_error($error, [EMAIL PROTECTED], $count);
}
It prints off the username that has been changed and its password. Then
the handle_error function is called.
Anyone got any ideas?
Cheers in advance,
Graeme :)
Just my two cents.
Marcello
--
To unsubscribe, e-ma
after each print, you can se $| to a non-zero
value.
I attached a sample script to show this.
Marcello
use strict;
use warnings;
$|++;
while(1) {
print "a"; # with this line we don't get any output unless
we put a $|++ beforehand
#print "a\n&q
& Regards,
Mallik.
You should supply more information to help somebody help you.
Marcello
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>
Michael Kraus ha scritto:
G'day all...
I'm currently using CGI::Session as part of an online ordering system.
I've been passing database primary keys back and forth between the
client and server, with all values double checked upon being received at
the server.
The only problem is that I need to pr
::someFunction1()
}
1;
-END
Thanks
Ram
Marcello
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>
ags = O_RDONLY;
tie %$dbm, "DB_File", $dbf, $dbflags, $mode, $DB_HASH;
Marcello
This is caused by using the variable for the flags and if I replace that
with the actual string (no quotes) it works fine, so it's happy with
$dbf and $mode.
I'm using 5.8.6, but the problem also exist
Jerry Preston ha scritto:
I have this array and I am trying to figure out how to read $id in it. Any
ideas?
@history = (
{
program => 'racer',
version => '0.45',
input => {
'/home/' => undef,
},
input_contents => '
$name= \'Jerry\';
$id = \'035\';
.15user 0.01system 0:09.89elapsed 92%CPU (0avgtext+0avgdata 0maxresident)k
0inputs+0outputs (0major+1015minor)pagefaults 0swaps
[EMAIL PROTECTED] time perl grep-bench.pl
67.52user 0.01system 1:12.97elapsed 92%CPU (0avgtext+0avgdata 0maxresident)k
0inputs+0outputs (0major+1015minor)pagefaults 0swaps
17 matches
Mail list logo