I don't have the time to put everything around this to do the syntax test but
what happens with this:
If ( ! chdir
"/big/dom/x$server/data/students/$progress_hash{student_id}/" ) {
$message = "Can't change directory to $progress_hash{student_id}:
$!";
report_e
On 01/19/2018 01:43 PM, Darryl Philip Baker wrote:
I don't have the time to put everything around this to do the syntax test but
what happens with this:
If ( ! chdir
"/big/dom/x$server/data/students/$progress_hash{student_id}/" ) {
$message = "Can't change directory to $
Uri,
Thank you SO much for your helpful comments! You didn’t just solve THIS
problem, you’ve helped me in my future programming!
Rick
> On Jan 19, 2018, at 11:56 AM, Uri Guttman wrote:
>
> On 01/19/2018 12:44 PM, Rick T wrote:
>> The subroutine below produces the followin
On 01/19/2018 12:44 PM, Rick T wrote:
The subroutine below produces the following syntax errors:
syntax error at /big/dom/xexploringmyself/cgi-bin/register.cgi line 71, near ""Can't
change directory to $progress_hash{student_id}: $!";"
syntax error at /big/dom
The subroutine below produces the following syntax errors:
syntax error at /big/dom/xexploringmyself/cgi-bin/register.cgi line 71, near
""Can't change directory to $progress_hash{student_id}: $!";"
syntax error at /big/dom/xexploringmyself/cgi-bin/register.cgi line
Hello Magnus Woldrich,
please can you send NON-ENCRYPTED messages please?
Thanks, Greetings and nice Day/Evening
Michelle Konzack
--
# Debian GNU/Linux Consultant ##
Development of Intranet and Embedded Systems with Debian GNU/Linux
itsystems@tdne
On 11-03-30 08:34 AM, Katie T wrote:
"perl -c" will check your script without executing it.
Not exactly. From `perldoc perlrun`:
-c causes Perl to check the syntax of the program and then exit without
executing it. Actually, it will execute "BEGIN", "UNITCHECK", "CHECK",
and "use" blocks,
On Tue, Mar 29, 2011 at 7:04 AM, Magnus Woldrich wrote:
>
>
"perl -c" will check your script without executing it.
Katie
--
CoderStack
http://www.coderstack.co.uk/asp-jobs
The Software Developer Job Board
2011-3-29 14:04, Magnus Woldrich:
Can't see any message body but with two attachments.
I'm using thunderbird 3.
--
terry - te...@geekmail.de
--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/
binuRX8OPobbD.bin
Description: application/pgp-encrypted
msg.asc
Description: Binary data
On 12/27/2010 06:11 AM, Sisyphus wrote:
>
> - Original Message - From: "Randal L. Schwartz"
>
> To:
> Sent: Monday, December 27, 2010 1:57 PM
> Subject: Re: Syntax Errors
>
>
>>>>>>> "Bill" == Bill Casey
- Original Message -
From: "Randal L. Schwartz"
To:
Sent: Monday, December 27, 2010 1:57 PM
Subject: Re: Syntax Errors
"Bill" == Bill Casey writes:
Bill> Syntax error at import_track.pl line 11, near ") {"
Bill> Syntax error at import_trac
>>>>> "Sheppy" == Sheppy R writes:
Sheppy> Strawberry Perl under Padre on a Windows system will give Syntax errors
Sheppy> (Running from both the command-line and in Padre itself). Chances are
this
Sheppy> is where Bill is getting them from, probably just one
Strawberry Perl under Padre on a Windows system will give Syntax errors
(Running from both the command-line and in Padre itself). Chances are this
is where Bill is getting them from, probably just one of the differences
between *nix and Windows.
@Bill - I'm not seeing any problems when I
> "Bill" == Bill Casey writes:
Bill> Syntax error at import_track.pl line 11, near ") {"
Bill> Syntax error at import_track.pl line 14, near "}"
Perl doesn't ever say "syntax error". So those errors are not
coming from Perl.
First thing to figure out is why Perl isn't running your script
On Sunday 19 December 2010 22:23:15 Bill Casey wrote:
> Hi
>
> Below is a Perl script which won't compile. My operating system is
> Windows XP Home and Perl version is 5.10.1.3.
>
This script after I placed it in a file compiles fine here:
{{{
shlomif:~$ cat test.pl
#!/usr/bin/perl
# import_tr
Hi
Below is a Perl script which won't compile. My operating system is
Windows XP Home and Perl version is 5.10.1.3.
#!/usr/bin/perl
# import_track.prl
use warnings;
use strict;
open (INFILE, "track.txt") or die $!;
open (OUTFILE, ">outtrack.plt") or die $!;
my $outstring;
while ()
{
On 3/28/06, Mr. Shawn H. Corey <[EMAIL PROTECTED]> wrote:
> On Tue, 2006-28-03 at 17:42 -0800, Christopher Spears wrote:
> > my $sum{$source} += my
> > $total_bytes{$source}{$destination};
>
> The second 'my' is causing the error.
What does the first one cause?
--Tom Phoenix
Stonehenge Perl T
On Tue, 2006-28-03 at 17:42 -0800, Christopher Spears wrote:
> my $sum{$source} += my
> $total_bytes{$source}{$destination};
The second 'my' is causing the error.
--
__END__
Just my 0.0002 million dollars worth,
--- Shawn
"For the things we have to learn before we can do them,
we l
On 3/28/06, Christopher Spears <[EMAIL PROTECTED]> wrote:
> my $sum{$source} += my
> $total_bytes{$source}{$destination};
> Am I missing something?
My guess is that my declarations have infested my program. Err, your program.
You can only use my() with complete variables, not with elements
I'm trying to solve a problem in Intermediate Perl.
Basically, I open a text file and read its
information. Here is some text from the file:
gilligan.crew.hut lovey.howell.hut 4721
thurston.howell.hut lovey.howell.hut 4046
professor.hut ginger.girl.hut 5768
gilligan.crew.hut laser3.copyroom.hut
I use editpadpro, (there is a lite free version of it). You can download
syntax color schemes for perl code. It will give you the matching brace or
parenthesis.
http://www.editpadpro.com/cscs.html
In article <[EMAIL PROTECTED]>, Kevin Pfeiffer wrote:
> I've painted myself into a corner I can't get out of...
>
> Missing right curly or square bracket at /home/pfeiffer/bin/trash line
> 341, at end of line
> syntax error at /home/pfeiffer/bin/trash line 341, at EOF
> Execution of /home/pfeiffe
I've painted myself into a corner I can't get out of...
Missing right curly or square bracket at /home/pfeiffer/bin/trash line 341,
at end of line
syntax error at /home/pfeiffer/bin/trash line 341, at EOF
Execution of /home/pfeiffer/bin/trash aborted due to compilation errors.
Line 341 is, of cou
This sort of question is a lot easier if we could see the syntax errors.
Here's my guess though.
#foreach $i (@section_headers)
Has $i been declared? Try 'foreach my $i (@section_headers)'
#die "config error - no valid section header\n" if
($config_current_s
ection ." \n",
> #foreach $i (@section_headers)
> # {
> # $config_current_section = (lc($config_section) eq $i) ?
> $i:$config_current_section
> # },
> #die "config error - no valid section header\n" if
> ($config_current_section ne $co
n
# },
#die "config error - no valid section header\n" if
($config_current_section ne $config_section && $config_current_section ne
"queries"),
# for(my $x;$x<10;++$x) print "gg",
print "in section $config_current_section -> $config
27 matches
Mail list logo