Sponsored Content
Top Forums UNIX for Dummies Questions & Answers transforming small javascript into perl Post 302190332 by cbkihong on Tuesday 29th of April 2008 10:32:57 AM
Old 04-29-2008
Why do you think Javascript can be rewritten into Perl? Javascript is executed by the client side (browser) while Perl code is executed at the server side. You can use Perl to generate Javascript (because that is just text) on the server side, but that is not using Perl to replace Javascript because they serve totally different purposes.
 

8 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Help Required In Transforming A File

How will i convert a file <LREC><L:EPOCH>1198331268.553</L:EPOCH><LDATE>10-12-07</LDATE><L:SERVER>NONE</L:SERVER><L:PORT>NONE</L:PORT><LTIME>13:47:48.553</LTIME><LTEXT>dnvdmxk</LTEXT></LREC>... (3 Replies)
Discussion started by: anju
3 Replies

2. UNIX for Dummies Questions & Answers

onChange + javascript in perl CGI - question

Hello all, Am trying to include a onChange java script to my perl CGI application which uses POST method to upload files to file_server This is how I embedded javascript in the perl code that renders CGI application print qq| <script type="text/javascript" src="display.js"> </script>... (4 Replies)
Discussion started by: matrixmadhan
4 Replies

3. Shell Programming and Scripting

transforming records

Hi all In input file I have records like this: 0,1,0,87,0,0,"6,87","170,03",0,"43,5",0,0,0,0,"6,87","126,53" and in output file I need that these records transforms in : 0 1 0 87 0 0 6,87 170,03 0 43,5 0 0 0 0 6,87 126,53 Could you help me in this case? Please (13 Replies)
Discussion started by: shizik
13 Replies

4. UNIX for Advanced & Expert Users

Transforming psmf to ogv

Hi all. I would like to create a program that converts psmf file format (PSMF - MultimediaWiki) to ogv (Ogg - Wikipedia, the free encyclopedia). I know C++ and I worked with BMPs (so I can understand a simple file system like the BMP header is) but I didn't touch any kind of sound/video file... (1 Reply)
Discussion started by: lilezek
1 Replies

5. Shell Programming and Scripting

How to use JavaScript in Perl Object Oriented

i am new to Perl CGI Object oriented. I want to use some java script in my Perl CGI but i am not able to do that. I am using Submit button then via param() i am getting all field parameters. But i want to validate all fields first then i want to move. But Use of Java script, i don't know (1 Reply)
Discussion started by: Navrattan Bansa
1 Replies

6. Shell Programming and Scripting

How to call perl web service from javascript?

Hi, I would like to call the below perl web service from javascript .Any help would be appreciated.I am new to web services.Please do the needful. Server Program(Perl Web Service) #!/usr/bin/perl use lib '/usr/lib/perl5/5.8.8/SOAP-Lite-0.65_3/lib'; use SOAP::Transport::HTTP; use Demo;... (3 Replies)
Discussion started by: liyakathali
3 Replies

7. Programming

Transforming data to other format

Dear All I would like to transform data from one format to another format. my Input: 0 0 1 0 1 0.308 0 2 0.554 0 3 0.287 output: Z (0,0)= 1 Z (0,1)=0.308 Z (0,2)=0.554 Z (0,3)=0.287 (2 Replies)
Discussion started by: bala06
2 Replies

8. UNIX for Dummies Questions & Answers

Transforming data so it looks like the one you specified

Lets say for instance I have this data within a file named transform xxx#yyy@zzz and I want it to be in the format ofZZZ xxx-yyy How do I go about doing this? (3 Replies)
Discussion started by: l3monz
3 Replies
OSMJS(1)						      General Commands Manual							  OSMJS(1)

NAME
osmjs - Javascript interpreter for the Osmium framework SYNOPSIS
osmjs [options] osmfile [args] DESCRIPTION
This manual page documents briefly the osmjs command. osmjs is an Osmium based framework for handling OSM data by calling Javascript callbacks for each object in an OSM data file. This gives you the flexibility of Javascript together with speed of the C++ Osmium framework and the Google V8 Javascript JIT compiler. osmfile can be an OSM XML (suffix .osm) (optionally packed with bz2 or gz) or PBF (suffix .osm.pbf) file. In single-pass mode it can also be '-' to read a PBF file from stdin. OPTIONS
This program follows the usual GNU command line syntax, with long options starting with two dashes (`-'). A summary of options is included below. -h, --help Show summary of options. -d, --debug Enable debugging output. -i FILE, --include=FILE Include Javascript file (can be given several times) -j FILE, --javascript=FILE Process given Javascript file -l STORE, --location-store=STORE Set location store (default: 'none'). See below for a list of available stores. -r, --no-repair Do not attempt to repair broken multipolygons -2, --2pass Read osmfile twice -m, --multipolygon Build multipolygons (implies -2) STORES
none Do not store node locations (you will have no way or polygon geometries) array Store node locations in large array (use for large OSM files) disk Store node locations on disk (use when low on memory) sparsetable Store node locations in sparse table (use for small OSM files) AUTHOR
Osmium was written by Jochen Topf <jochen@topf.org>. This manual page was written by David Paleino <dapal@debian.org>, for the Debian project (and may be used by others). November 14, 2011 OSMJS(1)
All times are GMT -4. The time now is 04:06 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy