Sponsored Content
Full Discussion: Phone Etiquette
The Lounge What is on Your Mind? Cartoons for Geeks Phone Etiquette Post 302503557 by DorothyHick on Friday 11th of March 2011 12:15:59 AM
Old 03-11-2011
lol, nice line Smilie
 

6 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Phone Directory

Hi Guys; im new here...my name is Mark and im a student from sinapore...i need help with a project im working on...can someone tell me how to create a phone directory with scripting which must include user-ID and password...im so worried right now cause i don't know where to start..i... (3 Replies)
Discussion started by: MaRk2002
3 Replies

2. Post Here to Contact Site Administrators and Moderators

Proper Forum Etiquette

I'm a frequent visitor to these forums. I generally enjoy topics that are posted as well as the responses. I really pickup a lot of new things to learn. However, there is one thing that does bother me here. (I dont mean to start a flame war, or any problems at all, just expressing some... (8 Replies)
Discussion started by: tarballed
8 Replies

3. BSD

help mounting a phone!

hi, im completely new to bsd, but everything seems to work that bit better than under linux distros! im using pc-bsd, and need to get access to my sony ericsson k550i. i have a 2gig m2 card in it, and when the phone is switched off, it acts like a usb storage device apparently! it shows up in... (2 Replies)
Discussion started by: Fanny Zoddar
2 Replies

4. AIX

Phone support

We have a 7028 p series server that has a lapsed hardware service contract, and I was attempting to create a billable tech support phone call, and IBM said that they do on site billable only. Is anybody out there aware of reputable third party support companies I might be able to contact. I have... (7 Replies)
Discussion started by: markper
7 Replies

5. UNIX for Dummies Questions & Answers

Connecting a phone

I have an LG VX9800 (The V), am using Linux Mint, and just downloaded BitPim. The problem: BitPim doesn't detect my phone. Then again, the computer doesn't even do that. I read here (under Reference > USB > Linux USB Setup) about direct USB access, but Linux Mint apparently doesn't use hotplug. Or... (0 Replies)
Discussion started by: Zucriy Amsuna
0 Replies

6. Post Here to Contact Site Administrators and Moderators

Forum etiquette and contact information

I got the following message I tried to send the following reply:Please excuse me for not being more familiar with this forums conventions. I was not aware that I included a personal message. Please help me by: 1. So that I can avoid this problem in the future, please let me know what part of my... (2 Replies)
Discussion started by: lmjennings44094
2 Replies
TAP::Parser::Source::Perl(3pm)				 Perl Programmers Reference Guide			    TAP::Parser::Source::Perl(3pm)

NAME
TAP::Parser::Source::Perl - Stream Perl output VERSION
Version 3.17 SYNOPSIS
use TAP::Parser::Source::Perl; my $perl = TAP::Parser::Source::Perl->new; my $stream = $perl->source( [ $filename, @args ] )->get_stream; DESCRIPTION
Takes a filename and hopefully returns a stream from it. The filename should be the name of a Perl program. Note that this is a subclass of TAP::Parser::Source. See that module for more methods. METHODS
Class Methods "new" my $perl = TAP::Parser::Source::Perl->new; Returns a new "TAP::Parser::Source::Perl" object. Instance Methods "source" Getter/setter the name of the test program and any arguments it requires. my ($filename, @args) = @{ $perl->source }; $perl->source( [ $filename, @args ] ); "croak"s if $filename could not be found. "switches" my $switches = $perl->switches; my @switches = $perl->switches; $perl->switches( @switches ); Getter/setter for the additional switches to pass to the perl executable. One common switch would be to set an include directory: $perl->switches( ['-Ilib'] ); "get_stream" my $stream = $source->get_stream($parser); Returns a stream of the output generated by executing "source". Must be passed an object that implements a "make_iterator" method. Typically this is a TAP::Parser instance. "shebang" Get the shebang line for a script file. my $shebang = TAP::Parser::Source::Perl->shebang( $some_script ); May be called as a class method "get_taint" Decode any taint switches from a Perl shebang line. # $taint will be 't' my $taint = TAP::Parser::Source::Perl->get_taint( '#!/usr/bin/perl -t' ); # $untaint will be undefined my $untaint = TAP::Parser::Source::Perl->get_taint( '#!/usr/bin/perl' ); SUBCLASSING
Please see "SUBCLASSING" in TAP::Parser for a subclassing overview. Example package MyPerlSource; use strict; use vars '@ISA'; use Carp qw( croak ); use TAP::Parser::Source::Perl; @ISA = qw( TAP::Parser::Source::Perl ); sub source { my ($self, $args) = @_; if ($args) { $self->{file} = $args->[0]; return $self->SUPER::source($args); } return $self->SUPER::source; } # use the version of perl from the shebang line in the test file sub _get_perl { my $self = shift; if (my $shebang = $self->shebang( $self->{file} )) { $shebang =~ /^#!(.*perl.*?)(?:(?:s)|(?:$))/; return $1 if $1; } return $self->SUPER::_get_perl(@_); } SEE ALSO
TAP::Object, TAP::Parser, TAP::Parser::Source, perl v5.12.5 2012-11-03 TAP::Parser::Source::Perl(3pm)
All times are GMT -4. The time now is 10:31 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy