LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 06-24-2011, 05:51 PM   #16
Sergei Steshenko
Senior Member
 
Registered: May 2005
Posts: 4,481

Rep: Reputation: 454Reputation: 454Reputation: 454Reputation: 454Reputation: 454

Quote:
Originally Posted by fusion1275 View Post
And yet you are still fighting with me... hahaha

Go have a beer dude! Geez!

I posted what I thought was the correct string and I am not asking for someone to do my homework. Anyway... life is too short for this.
Based on which exactly part of official Perl documentation you think your string is correct ?
 
Old 06-24-2011, 05:58 PM   #17
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,979

Rep: Reputation: Disabled
Hello fusion1275,

I've tested the code grail provided, it works for me. If it isn't working for you you should provide the your whole code.

Please note that Perl is all about regular expressions and hashes, if you don't learn either of them you will never be able to write or understand Perl-code.

Markus

Last edited by markush; 06-25-2011 at 06:33 AM.
 
Old 06-24-2011, 06:42 PM   #18
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 10,649
Blog Entries: 4

Rep: Reputation: 3934Reputation: 3934Reputation: 3934Reputation: 3934Reputation: 3934Reputation: 3934Reputation: 3934Reputation: 3934Reputation: 3934Reputation: 3934Reputation: 3934
I cordially suggest that http://www.perlmonks.org might be a more productive place to ask Perl-specific questions. It is a site expressly dedicated to that purpose and to that language.

Welcome. (In advance...)
 
Old 06-25-2011, 02:47 AM   #19
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232
Moderator note: The rude approach was not necessary here. I contacted Sergei offline. Please return to the original problem, if possible.
 
Old 06-25-2011, 05:48 AM   #20
grail
LQ Guru
 
Registered: Sep 2009
Location: Perth
Distribution: Manjaro
Posts: 10,005

Rep: Reputation: 3191Reputation: 3191Reputation: 3191Reputation: 3191Reputation: 3191Reputation: 3191Reputation: 3191Reputation: 3191Reputation: 3191Reputation: 3191Reputation: 3191
Thanks for that Mara

@OP - I will have to be with Markus here in that if it did not work you may need to show us what you are doing as the test works for me when calling a script with a argument
with either '.txt' included or missing (ie it make the decision based on this)
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
wine + pulseaudio + opensuse 11.1 + newbie = head-scratching?!?!? maingun Linux - Software 9 08-14-2009 06:10 AM
LXer: Head First Algebra: A Learner's Guide to Algebra LXer Syndicated Linux News 0 02-06-2009 12:01 PM
scratching my head... Gortex Linux - Hardware 2 06-28-2008 06:56 PM
fedora- newbie and scratching head krisko1c Linux - Wireless Networking 0 01-25-2004 02:07 AM
Im scratching my head over this chad_jensen Linux - Hardware 1 05-22-2003 10:52 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 05:42 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration