GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
Asm::Preproc::Line(3) User Contributed Perl Documentation Asm::Preproc::Line(3)

Asm::Preproc::Line - One line of text retrieved from the input

  use Asm::Preproc::Line;
  my $line = Asm::Preproc::Line->new($text, $file, $line_nr);
  $line->text; $line->rtext; $line->file; $line->line_nr;
  my $line2 = $line->clone;
  if ($line == $line2) {...}
  if ($line != $line2) {...}
  $line->error($message);
  $line->warning($message);

This module defines the object to represent one line of input text to preprocess. It contains the actual text from the line, and the file name and line number where the text was retrieved. It contains also utility methods for error messages.

Creates a new object with the given text, file name and line number.

Get/set line text.

Return reference to the text value.

Get/set file name.

Get/set line number.

Creates an identical copy as a new object.

  if ($self == $other) { ... }

Compares two line objects. Overloads the '==' operator.

  if ($self != $other) { ... }

Compares two line objects. Overloads the '!=' operator.

Dies with the given error message, indicating the place in the input source file where the error occured as:

  FILE(LINE) : error: MESSAGE

Warns with the given error message, indicating the place in the input source file where the error occured as:

  FILE(LINE) : warning: MESSAGE

See Asm::Preproc.
2019-03-03 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.