Anyways, I can't get it to work properly. I took Adobe's script, which is intended to work with xinetd (the standalone script btw works fine, but I really want xinetd to handle this). After some small changes it seems to run fine now, but the Flashplayer complains about "malformed" XML. I changed the XML now a 1000 times, but it's always the same, and I begin to wonder, if maybe xinetd might be the problem?
This is the XML:
Here's the perl script that takes this file and delivers it to Flash:
As you can see I also tried not to send the file's content, but a string, to make sure there are no extra bytes involved. However, Flash keeps saying that it will ignore the XML because it's malformed.
So, is it possible that xinetd adds something to the result?
Or does anyone sees another thing that might be wrong? I'm fighting with this for 2 days now, so any help is very appreciated.
i want to edit inetd.conf for security on my redhat 7.1 box, but i dont have it in my /etc directory, rather, i have xinetd.conf. Can i use xinetd.conf for the same purpose, is it as useful as inetd.conf? (2 Replies)
I'm new to this.
My question is I have freebsd installed on one computer. I want to make it a file server. My main computer is windows XP. How do I make the freebsd machine in a fileserver. and so that windows xp can see it and access it (2 Replies)
I need to know the way. I have got parsing down some nodes. But I was unable to get the child node perfectly. If you have code please send it. It will be very useful for me. (0 Replies)
Dear all,
I am a windows user, am not into unix/linux at all.
however, I have a new client who is asking me if unix can act as file server.
i.e. my application imports files from several locations and put them in one location (on a shared folder on the server), so my application will be... (7 Replies)
Here is a puzzler.
To start, let me say that I've done a search on this issue and it is definitely not related to line endings being encoded in windows returns.
I get this error when I run SOME perl scripts. I have a script called hello_world.pl. I do $cp hello_world.pl new_hello_world.pl... (0 Replies)
When you open a file on a fileserver from your client, what type of operation takes place on the server? I imagine the server's hard drive reads the file that the client has requested, and then makes it available somehow through the network share, is that accurate? Also what service on Unix/Linux... (0 Replies)
Hi All,
I am facing some problems with bad characters in my file.For example-
00000000509 TCI DEVOFFERS= 1
Now I want to remove all bad characters and replace with *.
Please suggest some solution.
Along with that How to mention a range of ASCII values in TR command to replace?
... (2 Replies)
Hi Everyone,
I'm new here and I was checking this old post:
/shell-programming-and-scripting/180669-splitting-file-into-several-smaller-files-using-perl.html
(cannot paste link because of lack of points)
I need to do something like this but understand very little of perl.
I also check... (4 Replies)
HI everyone,
Nice to meet you all.
I recently rebooted Slackware 12.1 running on a Dell PowerEdge 2400. after 240 days of continuous run-time, and discovered it gets stuck in a sbin/agetty loop. We were rebooting because trying to mount root in webmin broke a bunch of things. Couldn't even get... (3 Replies)
Discussion started by: 5pac3m0nk3y
3 Replies
LEARN ABOUT MOJAVE
config::any::xml5.18
Config::Any::XML(3) User Contributed Perl Documentation Config::Any::XML(3)NAME
Config::Any::XML - Load XML config files
DESCRIPTION
Loads XML files. Example:
<config>
<name>TestApp</name>
<component name="Controller::Foo">
<foo>bar</foo>
</component>
<model name="Baz">
<qux>xyzzy</qux>
</model>
</config>
METHODS
extensions( )
return an array of valid extensions ("xml").
load( $file )
Attempts to load $file as an XML file.
requires_all_of( )
Specifies that this module requires XML::Simple and XML::NamespaceSupport in order to work.
CAVEATS
Strict Mode
If, by some chance, XML::Simple has already been loaded with the strict flag turned on, then you will likely get errors as warnings will
become fatal exceptions and certain arguments to XMLin() will no longer be optional.
See XML::Simple's strict mode documentation for more information.
AUTHORS
Brian Cassidy <bricas@cpan.org>
Joel Bernstein <rataxis@cpan.org>
COPYRIGHT AND LICENSE
Copyright 2006-2013 by Brian Cassidy
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
SEE ALSO
o Catalyst
o Config::Any
o XML::Simple
perl v5.18.2 2013-09-10 Config::Any::XML(3)