"Bob Showalter" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> John Doe wrote:
> > ...
> > When i run script i recive error:
> > # ./check-size.pl
> > > bad interpreter: No such file or directory
>
> This can be caused by the file containing DOS-style line endings. If the
> first lin
"Casey West" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> It was Thursday, April 29, 2004 when John Doe took the soap box, saying:
> : Hello all,
> : i write script that open and read file but i have problem.
> : First, here are a script:
> :
> : if (-e $fulltree) { # check
John Doe wrote:
>
> Hello all,
Hello,
> i write script that open and read file but i have problem.
> First, here are a script:
>
> #!/usr/bin/perl
Change that to:
#!/usr/bin/perl -w
use strict;
> use DBI;
>
> my $dbuser = "xxx";
> my $dbpass = "xxx";
> my $db = "xxx";
>
> my $u_dbuser
John Doe wrote:
> ...
> When i run script i recive error:
> # ./check-size.pl
> > bad interpreter: No such file or directory
This can be caused by the file containing DOS-style line endings. If the
first line is:
#!/usr/bin/perl
the kernel will include the as part of the file name and try to
It was Thursday, April 29, 2004 when John Doe took the soap box, saying:
: Hello all,
: i write script that open and read file but i have problem.
: First, here are a script:
:
: if (-e $fulltree) { # check to see if file exist
: open(FILE, "$fulltree");
: my @f = ;
: close(FILE)
Hello all,
i write script that open and read file but i have problem.
First, here are a script:
#!/usr/bin/perl
use DBI;
my $dbuser = "xxx";
my $dbpass = "xxx";
my $db = "xxx";
my $u_dbuser = "xxx";
my $u_dbpass = "xxx";
my $u_db = "xxx";
my $sth = "";
my $dbh = "";
my $result = "";
my $sq