Sponsored Content
Top Forums Shell Programming and Scripting Perl scripting absurd error !! Post 302340407 by shawnhcorey on Monday 3rd of August 2009 10:23:17 AM
Old 08-03-2009
Quote:
Originally Posted by Niroj
Hey no no...! I just put '//' for general purpose.. not in scriptingSmilie..
I suggest you post real code. Smilie

Quote:
Originally Posted by Niroj
This is a real issue... I am facing
I am using Notepad++ editor to write/ftp into unix box. The Perl script I have written is very large and contains HTML code inside. Whenever I am changing something like putting a line in between two lines it is throwing me some absurd error.
I suggest you get a real editor. There are many free ones available.

I use GViM, but it's too archaic for most people, so I don't make any recommendations.
 

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

perl scripting

Hi does anyone know how to ouput "I love scripting" to "scripting love I" without using reverse() function in perl? Thanks (2 Replies)
Discussion started by: ccp
2 Replies

2. Shell Programming and Scripting

Perl scripting

Hi, I want some Perl tutorials, kindly tell me if there are any links... (1 Reply)
Discussion started by: darshakraut
1 Replies

3. Shell Programming and Scripting

Help with perl scripting

Hi All, I need to run smartctl using nagios account but I'm not familiar with perl scripting. The existing script runs smartctl using root account. I need it to run using nagios to eliminate security risks. #!/usr/bin/perl -w # checks for possible disk errors use strict; my... (3 Replies)
Discussion started by: linuxgeek
3 Replies

4. Shell Programming and Scripting

Call Shell scripting from Perl Scripting.

Hi How to call a shell scripting through a Perl scripting? Actually I need some value from Shell scripting and passes in the Perl scripting. So how can i do this? (2 Replies)
Discussion started by: anupdas
2 Replies

5. UNIX for Dummies Questions & Answers

Need help configuring Active Perl on Windows Vista.: Perl Scripting on Windows

Hi All, Need help configuring Active Perl on Windows Vista. I am trying to install Active Perl on Windows Vista. The version of Active Perl i am trying to install is : ActivePerl 5.10.1 Build 1006 After installing it through cmd, When i try to run perl -v to check the version, i get the... (2 Replies)
Discussion started by: Vabiosis
2 Replies

6. What is on Your Mind?

Shell scripting vs Perl scripting

Hi all, I would like to start developping some good scripting skills. Do you think it would be best to start with shell scripting or Perl? I already got a fundation, really basics, in perl. but I am wondering what would be best to be good at first. Can you please help me determine which one to... (14 Replies)
Discussion started by: Pouchie1
14 Replies

7. What is on Your Mind?

Shell Scripting vs Perl scripting

Gents, I have been working in a Solaris/Unix environment for about 9 months. I took some linux classses online before getting the job. But, I am not very good at scripting. I want to learn how to script. Do you think that I should start with Shell scripting or Perl? I wanted to continue with... (2 Replies)
Discussion started by: Pouchie1
2 Replies

8. Web Development

Perl scripting or shell scripting?

i am going to study any one of the scripting languages mentioned above(shell 0r perl scripting) . Which is having more scope for a fresher? (1 Reply)
Discussion started by: Anna Hussie
1 Replies

9. Shell Programming and Scripting

Perl Scripting Help

Hello, Can anyone help with pearl Scripting. I'm looking for equilant pearl code which can do - OS=`uname -s` if ]; then my $HOME='/home/mqm' else my $HOME='/export/home/mqm' fi thanks (4 Replies)
Discussion started by: skrv
4 Replies
GLFRONTFACE(3G) 														   GLFRONTFACE(3G)

NAME
glFrontFace - define front- and back-facing polygons C SPECIFICATION
void glFrontFace( GLenum mode ) PARAMETERS
mode Specifies the orientation of front-facing polygons. GL_CW and GL_CCW are accepted. The initial value is GL_CCW. DESCRIPTION
In a scene composed entirely of opaque closed surfaces, back-facing polygons are never visible. Eliminating these invisible polygons has the obvious benefit of speeding up the rendering of the image. To enable and disable elimination of back-facing polygons, call glEnable and glDisable with argument GL_CULL_FACE. The projection of a polygon to window coordinates is said to have clockwise winding if an imaginary object following the path from its first vertex, its second vertex, and so on, to its last vertex, and finally back to its first vertex, moves in a clockwise direction about the interior of the polygon. The polygon's winding is said to be counterclockwise if the imaginary object following the same path moves in a counterclockwise direction about the interior of the polygon. glFrontFace specifies whether polygons with clockwise winding in window coordinates, or counterclockwise winding in window coordinates, are taken to be front-facing. Passing GL_CCW to mode selects counterclock- wise polygons as front-facing; GL_CW selects clockwise polygons as front-facing. By default, counterclockwise polygons are taken to be front-facing. ERRORS
GL_INVALID_ENUM is generated if mode is not an accepted value. GL_INVALID_OPERATION is generated if glFrontFace is executed between the execution of glBegin and the corresponding execution of glEnd. ASSOCIATED GETS
glGet with argument GL_FRONT_FACE SEE ALSO
glCullFace(3G), glLightModel(3G) GLFRONTFACE(3G)
All times are GMT -4. The time now is 10:03 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy