On Monday 15 May 2006 00:31, Chad Perrin wrote:
> I have Perl/CGI scripts whose output I'd like to include in an SHTML
> page. For instance, foo.shtml should include output from bar.pl (which
> is located in the cgi-bin directory). Server Side Includes (SSI) seem
> to be my only option for making
Hi,
On execution of the following code snippet, I get an error as
"Magic number checking on storable file failed at blib/lib/Storable.pm
(autosplit into blib/lib/auto/Storable/fd_retrieve.al) line 297"
The code snippet is like:
while(1)
{
my ($rouName, $ar
badrinath chitrala wrote:
> Hi
Hello,
> Can sombody hepl me in the below prog
> I could not get any output
What output were you expecting to get? What input did you give your program?
> please tell me the mistake i hav done and where
> also suggest me how to go with this
>
> my $lineno;
> my
Hi,
For beginners,someone should always add this statement at the top:
use strict;
>my $lineno;
Good.
>my $current =3D "";
Here maybe you want: my $current = '3D';
In strict mode,bareword "3D" is not allowed.
>
>while(<>){
> if($current ne $ARGV){
$ARGV contains the name of the current file wh
badrinath chitrala wrote:
: Can sombody hepl me in the below prog
Can you tell us what it is suppose to do? It looks like
you are trying to add line numbers to a file and print the
result.
: I could not get any output
What is on your command line? What is in the file which
is processe
Hi
Can sombody hepl me in the below prog
I could not get any output
please tell me the mistake i hav done and where
also suggest me how to go with this
my $lineno;
my $current =3D "";
while(<>){
if($current ne $ARGV){
$current =3D $ARGV;
print "\n\t\tFile: $ARGV\n\n";
$lineno=3D1;
}
print
Hi All
I am a novice to perl,I would like to learn perl in a systematic way,
Whats the best way to start with,I dont have any experience of
programming Language, But I came to know that perl is a Good
Programming Language
Thanks
Kaushal
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For addition
On Sunday 14 May 2006 04:45, Ken Foskey wrote:
[ during xfer, the connection ocasionally breaks ]
[ seeks to resume the xfer where left off ]
> Secondly is there an easy way to send messages to Big Brother to go
> orange, red then go green again? We are using a file and writing
> messages and ther
On Sun, May 14, 2006 at 05:00:08PM -0600, Chad Perrin wrote:
> On Sun, May 14, 2006 at 06:43:13PM -0400, Ricky Zhou wrote:
>
> > For your specific problem, try using
>
> How do I go about passing variables to the script via include virtual
> without using cookies, then? My understanding is tha
On Sun, May 14, 2006 at 06:43:13PM -0400, Ricky Zhou wrote:
> >
> First, some tips for looking into further such problems:
> * Check the error log-- the messages are usually pretty descriptive.
Unfortunately, I don't have access to the logs. As I mentioned in the
original email, it's a cheapo web
On 5/14/06, Chad Perrin <[EMAIL PROTECTED]> wrote:
If, however, I have the markup with which I want to wrap my Perl output
defined in foo.shtml, and bar.pl only outputs the stuff that needs to be
dynamically generated by the Perl script, I get this output in my
browser:
[an error occurred
I have Perl/CGI scripts whose output I'd like to include in an SHTML
page. For instance, foo.shtml should include output from bar.pl (which
is located in the cgi-bin directory). Server Side Includes (SSI) seem
to be my only option for making this work, unless there's something I'm
missing. My re
Erik schreef:
> I just figured out a way to get a result that is correctly displayed
> in the browser and does not give error messages from code2html!
>
> Here is what I had to do:
> 1. Add "use locale;" to code2html.
> 2. Make sure that LANG is set to swedish (I executed "export
> LANG=swedish" i
I am trying to transfer across a link that is unreliable. (OK it is
reliable but it does break occasionally.)
Basically when I connect to the server and fail, I back off issue a
message to Big Brother, and then retry after 10 minutes, again after 20
and again after 30 minutes. I was wondering if
Dr.Ruud wrote:
Erik schreef:
iconv converts 'å' into "Ã¥". Then code2html reconizes à but not ¥ as
a letter, so the output of "Aål" is:
AÃ¥l
OK, that's a bug of code2html. Also, the produced html doesn't signal
that it is in UTF-8.
I just figured out a way to get a result that is co
Sumo Wrestler (or just ate too much) wrote:
>
> Try something like this:
>
> use strict;
> use Data::Dumper;
>
> $var = '
> iptables -A INPUT -p tcp -s 123.45.678.90 --dport 22 -j ACCEPT
>
> and ...
>
> iptables -A INPUT -p tcp --dport 25 -j ACCEPT
> ';
>
> open (FH, '<', \$var)
> or die
16 matches
Mail list logo