Re: Thank you for your answer. And yesterday i was write from Nahid`s email address

2005-10-20 Thread Ulfet

Hello.

Please help me write this script. Before
this mail i sent to you amil, and i explained what i need. Thank
you very much in advance.


Re: Thank you for your answer. And yesterday i was write from Nahid`s email address

2005-10-20 Thread Chris Devers

On Thu, 20 Oct 2005 [EMAIL PROTECTED] wrote:


Hello.

Please help me write this script. Before this mail i sent to you amil, 
and i explained what i need. Thank you very much in advance.


This list continues not to be a free script writing service. Sorry.

Additionally, many of the people on the list will not receive 
attachments, so sending a JPG of ... something is, while quite 
imaginitive, not an effective way to communicate about programs.


If you want help, send the material you want help with as plain text 
pasted directly into the body of your message, not as an attachment. 
Also, send specific questions -- please help me write this script is 
not a question we can help with, but I can't get FOO to work or why 
doesn't BAR work the way I expect it to are things we can help.



--
Chris Devers

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/ http://learn.perl.org/first-response




Re: Thank you for your answer. And yesterday i was write from Nahid`s email address

2005-10-17 Thread Ulfet

Hello. I send you example. And that
example i will try what i want to ask.


This is a file is info.xml and it constraint
below

info
  Personal
NAMEUlfet/NAME
SURNAMETANRIVERDIYEV/SURNAME
AGE24/AGE
ADDRESSBAKU/ADDRESS
  /Personal
  Education
SCHOOLXetai
191/SCHOOL
UNIVERSITYQafqaz
University/UNIVERSITY
  /Education
/info


So, i wrote script in PERL. And it is
below

#*

#!/usr/bin/perl
open(FILE,info.xml) or xeta(File
can not open...);
@b = FILE; 
close(FILE); 
$search = '';
@results = grep(/$search/,@b);
print @results\n;

#*


And have a other script and its below

#*

#!/usr/bin/perl -w
use XML::Simple;
my $infile = 'info.xml';
my $xml  = XMLin();
print XMLout($xml), \n;


#*

So, i need to get that information from
indo.xml (Ulfet, Tanriverdiyev, 24, Baku,) 
I want to get without tags information.
I read that in PERL has a module which can read files(XML) and get from
information whitout tags. Please help me, how can i get. I wrote script
which can find and get ftom file that information without XML tags. Thank
you very much in advance




Re: Thank you for your answer. And yesterday i was write from Nahid`s email address

2005-10-17 Thread Dave Gray
On 10/17/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
 This is a file is info.xml and it constraint below

 info
 Personal
 NAMEUlfet/NAME
 SURNAMETANRIVERDIYEV/SURNAME
 AGE24/AGE
 ADDRESSBAKU/ADDRESS
 /Personal
 Education
 SCHOOLXetai 191/SCHOOL
 UNIVERSITYQafqaz University/UNIVERSITY
 /Education
 /info


 So, i wrote script in PERL. And it is below

 #*

 #!/usr/bin/perl
 open(FILE,info.xml) or xeta(File can not open...);
 @b = FILE;
 close(FILE);
 $search = '';
 @results = grep(/$search/,@b);
 print @results\n;

 #*


 And have a other script and its below

 #*

 #!/usr/bin/perl -w
 use XML::Simple;
 my $infile = 'info.xml';
 my $xml= XMLin();
 print XMLout($xml), \n;

 #*

 So, i need to get that information from indo.xml (Ulfet, Tanriverdiyev, 24, 
 Baku,)
 I want to get without tags information. I read that in PERL has a module 
 which can read files(XML) and get from information whitout tags. Please help 
 me, how can i get. I wrote script which can find and get ftom file that 
 information without XML tags. Thank you very much in advance

the documentation (available online here):
http://search.cpan.org/~grantm/XML-Simple-2.14/lib/XML/Simple.pm#EXAMPLES
has some examples that are very similar to what you are attempting.

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/ http://learn.perl.org/first-response




Re: Thank you for your answer. And yesterday i was write from Nahid`s email address

2005-10-14 Thread Chris Devers
If you want to discuss Beginners Perl, send your messages to the 
beginners@perl.org list address. I am a subscriber and will see your 
response there, as will dozens of other helpful people.



On Fri, 14 Oct 2005 [EMAIL PROTECTED] wrote:

My name is Ulfet. Yesterday i was written from Nahid`s email address. 
So, i need to write script in PERL languiage on UNIX OS. Exactly Unix 
AIX (for IBM).


So, i found some scripts, and me wrote some scirpt. But there are some 
problems. Firstly let me tell you that what i found that scripts does 
not work. And i get it as text and want to send you. But also i want 
to send you scripts which i have written.


If you have samples of code you need help with, send it to the list, not 
to me directly.


And if you want help, it is best to send clear questions with samples of 
code that you do not understand, or do not work the way you expect them 
to.


Just sending a big set of programs usually doesn't get much help.

And just now, i want to explain that i need a script which must be 
write in PERL for OS Unix AIX. That script have to take XML file and 
convert it to text. Shortly, that script have to take only without 
tags words.


Example: this is a xml file and its content below
nameUlfet/name
age24/age


I need to take Ulfet and 24.


Great. That can be done.

Show us what you've tried and we can try to help.



--
Chris Devers

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/ http://learn.perl.org/first-response




Re: Thank you for your answer. And yesterday i was write from Nahid`s email address

2005-10-14 Thread Thomas J Hughes
Please remove my email address from your list, thanks

Tom


On 10/14/05, Chris Devers [EMAIL PROTECTED] wrote:
 If you want to discuss Beginners Perl, send your messages to the
 beginners@perl.org list address. I am a subscriber and will see your
 response there, as will dozens of other helpful people.


 On Fri, 14 Oct 2005 [EMAIL PROTECTED] wrote:

  My name is Ulfet. Yesterday i was written from Nahid`s email address.
  So, i need to write script in PERL languiage on UNIX OS. Exactly Unix
  AIX (for IBM).
 
  So, i found some scripts, and me wrote some scirpt. But there are some
  problems. Firstly let me tell you that what i found that scripts does
  not work. And i get it as text and want to send you. But also i want
  to send you scripts which i have written.

 If you have samples of code you need help with, send it to the list, not
 to me directly.

 And if you want help, it is best to send clear questions with samples of
 code that you do not understand, or do not work the way you expect them
 to.

 Just sending a big set of programs usually doesn't get much help.

  And just now, i want to explain that i need a script which must be
  write in PERL for OS Unix AIX. That script have to take XML file and
  convert it to text. Shortly, that script have to take only without
  tags words.
 
  Example: this is a xml file and its content below
  nameUlfet/name
  age24/age
  
 
  I need to take Ulfet and 24.

 Great. That can be done.

 Show us what you've tried and we can try to help.



 --
 Chris Devers

 --
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 http://learn.perl.org/ http://learn.perl.org/first-response





--
Thomas J. Hughes, DoD (CIV)
Information Computer Telecommunciations Specialist Level - 6
Naval Surface Warfare Center
Joint Interoperability Test Center (JITC)
COMM: (301) 274-0160
CELL: (240) 210-0277

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/ http://learn.perl.org/first-response




Re: Thank you for your answer. And yesterday i was write from Nahid`s email address

2005-10-14 Thread Ulfet

Thankuyu very mush for your asnwer.

So i will on monday write the question
and will try what i want and what i need.